AnnotationOptions.Comments Property | Office File API | DevExpress Documentation Skip to main content
All docs
V26.1
  • AnnotationOptions.Comments Property

    Provides access to the options used to display comments in a document.

    Namespace: DevExpress.XtraRichEdit

    Assembly: DevExpress.RichEdit.v26.1.Core.dll

    Declaration

    public CommentOptions Comments { get; }

    Property Value

    Property Paths

    You can access this nested property as listed below:

    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 AnnotationOptions class properties to manage comment authors. Access the properties via the documentProcessor.Options.Annotations notation.

    See Also
    Use of this site constitutes acceptance of our Website Terms of Use and Privacy Policy (Updated). Cookies Settings