officefileapi-devexpress-dot-xtrarichedit-b0ae5b0c.md
Provides options for annotations (comments and tracked changes).
Namespace : DevExpress.XtraRichEdit
Assembly : DevExpress.RichEdit.v25.2.Core.dll
NuGet Package : DevExpress.RichEdit.Core
[ComVisible(false)]
public class AnnotationOptions :
RichEditAnnotationOptionsBase
<ComVisible(False)>
Public Class AnnotationOptions
Inherits RichEditAnnotationOptionsBase
The following members return AnnotationOptions objects:
The AnnotationOptions class provides options used to manage annotation authors and display options for comments and tracked changes.
Use the AnnotationOptions.Comments property to access comment options. The AnnotationOptions.TrackChanges property provides access to Track Changes options.
The AnnotationOptions.Author, AnnotationOptions.ShowAllAuthors and AnnotationOptions.VisibleAuthors property values are common for all annotations.
richEditControl.Options.Annotations.Author = "Anne Dodsworth";
//Disable showing revisions from all authors
richEditControl.Options.Annotations.ShowAllAuthors = false;
//Remove authors whose revisions should not be displayed:
richEditControl.Options.Annotations.VisibleAuthors.Remove("Ryan Anita W");
richEditControl.Options.Annotations.VisibleAuthors.Remove("Michael Suyama");
richEditControl.Options.Annotations.Author = "Anne Dodsworth"
'Disable showing revisions from all authors
richEditControl.Options.Annotations.ShowAllAuthors = False
'Remove authors whose revisions should not be displayed:
richEditControl.Options.Annotations.VisibleAuthors.Remove("Ryan Anita W")
richEditControl.Options.Annotations.VisibleAuthors.Remove("Michael Suyama")
Object ViewStatePersisterCore BaseOptions RichEditNotificationOptions DevExpress.XtraRichEdit.RichEditAnnotationOptionsBase AnnotationOptions
See Also