CommentDisplayMode Enum

Wordize.Layout.CommentDisplayMode enum. Specifies the rendering mode for document comments.

CommentDisplayMode enumeration

Specifies the rendering mode for document comments.

public enum CommentDisplayMode

Values

NameValueDescription
Hide0No document comments are rendered.
ShowInBalloons1Renders document comments in balloons in the margin. This is the default value.
ShowInAnnotations2Renders document comments in annotations. This is only available for Pdf format.

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