AnnotationOptions.Comments Property
In This Article
Provides access to the options used to display comments in a document.
Namespace: DevExpress.XtraRichEdit
Assembly: DevExpress.RichEdit.v24.2.Core.dll
NuGet Package: DevExpress.RichEdit.Core
#Declaration
public CommentOptions Comments { get; }
#Property Value
Type | Description |
---|---|
Comment |
An object containing comment options. |
#Property Paths
You can access this nested property as listed below:
Object Type | Path to Comments |
---|---|
Rich |
|
#Remarks
The code sample below shows how to specify comment options:
CommentOptions commentOptions = documentProcessor.Options.Annotations.Comments;
commentOptions.Color = System.Drawing.Color.DarkRed;
commentOptions.Visibility = RichEditCommentVisibility.Visible;
commentOptions.HighlightCommentedRange = true;
Tip
Use the Annotationdocument
notation.
See Also