LayoutOptions.CommentDisplayMode

LayoutOptions CommentDisplayMode property. Gets or sets the way comments are rendered. Default value is ShowInBalloons.

LayoutOptions.CommentDisplayMode property

Gets or sets the way comments are rendered. Default value is ShowInBalloons.

public CommentDisplayMode CommentDisplayMode { get; set; }

Remarks

Note that revisions are not rendered in balloons for ShowInAnnotations.

Examples

Shows how to configure layout options to hide comments when rendering a document.

ConverterContext context = new ConverterContext();
context.LayoutOptions.CommentDisplayMode = Layout.CommentDisplayMode.Hide;

Converter.Create(context)
    .From(MyDir + "Simple.docx")
    .To(ArtifactsDir + "LayoutOptions.pdf")
    .Execute();

See Also