Specifies the visibility mode of a document comment.
A RichEditCommentVisibility enumeration value.
You can access this nested property as listed below:
|Library||Object Type||Path to Visibility|
|Office File API||AnnotationOptions|
When the CommentOptions.Visibility is set to RichEditCommentVisibility.Visible, the comment balloons are displayed and document ranges are highlighted. You can hide comments and highlight commented ranges by setting the Visibility to Hidden and the CommentOptions.HighlightCommentedRange option - to true. Note that the Visibility property value changes to Visible after adding a new comment.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Visibility property.
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.