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
Name | Value | Description |
---|---|---|
Hide | 0 | No document comments are rendered. |
ShowInBalloons | 1 | Renders document comments in balloons in the margin. This is the default value. |
ShowInAnnotations | 2 | Renders 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
- namespace Wordize.Layout
- assembly Wordize