CommentOptions Members
Contains options for displaying the comments in a document.Constructors
| Name | Description |
|---|---|
| CommentOptions() | Initializes a new instance of the CommentOptions class with the default settings. |
| CommentOptions(AnnotationOptions) | Initializes a new CommentOptions object with specified settings. |
Properties
| Name | Description |
|---|---|
| Author | Gets or sets the default comment’s author. |
| Color | Gets or sets the background color of the text to which a comment is attached. |
| HighlightCommentedRange | Gets or sets whether to highlight commented document ranges. |
| ShowAllAuthors | Gets or sets whether to show comments by all reviewers. |
| Visibility | Specifies the visibility mode of a document comment. |
| VisibleAuthors | Provides access to a collection of reviewer names whose comments are visible. |
Methods
| Name | Description |
|---|---|
| Assign(BaseOptions) | Copies all settings from the options object passed as a parameter. Inherited from BaseOptions. |
| Equals(Object, Object) static | Determines whether the specified object instances are considered equal. Inherited from Object. |
| Equals(Object) | Determines whether the specified object is equal to the current object. Inherited from Object. |
| GetHashCode() | Serves as the default hash function. Inherited from Object. |
| GetType() | Gets the Type of the current instance. Inherited from Object. |
| MemberwiseClone() protected | Creates a shallow copy of the current Object. Inherited from Object. |
| ReferenceEquals(Object, Object) static | Determines whether the specified Object instances are the same instance. Inherited from Object. |
| Reset() | Resets all notification options to their default values. Inherited from RichEditNotificationOptions. |
| ResetColor() | Applies default coloring scheme to comment colors. |
| ToString() | Returns a string representing the currently enabled options. Inherited from BaseOptions. |
Events
| Name | Description |
|---|---|
| Changed | Occurs when the options are modified. Inherited from RichEditNotificationOptions. |
See Also