Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

DocumentCapabilitiesOptions Members

Represents the storage of settings specific for the document restrictions.

Constructors

Name Description
DocumentCapabilitiesOptions() Initializes a new instance of the DocumentCapabilitiesOptions class with the default settings.

Properties

Name Description
Bookmarks Gets or sets the bookmark feature availability.
BookmarksAllowed Gets whether the bookmarks feature is allowed.
CharacterFormatting Gets or sets the character formatting features availability.
CharacterFormattingAllowed Gets whether the character formatting feature is allowed.
CharacterStyle Gets or sets the availability of the apply character style feature.
CharacterStyleAllowed Gets whether the character style feature is allowed.
Comments Gets or sets the document’s capability to display and work with comments.
CommentsAllowed Gets whether comments are allowed.
EndNotes Gets or sets the document’s capability to contain endnotes (notes placed at the end of the text).
EndNotesAllowed Gets whether the end notes are allowed in the document.
Fields Gets or sets the document’s capability to recognize and work with fields.
FieldsAllowed Gets whether fields are allowed.
FloatingObjects Gets or sets the document’s capability to handle floating objects.
FloatingObjectsAllowed Gets whether the floating objects are allowed in the document.
FootNotes Gets or sets the document’s capability to contain footnotes (notes placed at the end of a document).
FootNotesAllowed Gets whether the end notes are allowed in the document.
HeadersFooters Gets whether the headers and footers feature is allowed.
HeadersFootersAllowed Gets whether the headers and footers feature is allowed.
Hyperlinks Gets or sets the hyperlink feature availability.
HyperlinksAllowed Gets whether the hyperlink feature is allowed.
InlinePictures Gets or sets the document capability to handle inline pictures.
InlinePicturesAllowed Gets whether inline pictures handling is allowed.
InlineShapes Gets or sets the document capability to handle inline shapes (objects in the document’s text layer).
InlineShapesAllowed Gets whether the Inline Shapes feature is allowed.
Numbering Provides access to options specifying the availability of bulleted and numbered lists in the document.
ParagraphBorders Gets or sets whether paragraph borders are available.
ParagraphBordersAllowed Gets whether the paragraph borders feature is allowed.
ParagraphFormatting Gets or sets the paragraph formatting features availability.
ParagraphFormattingAllowed Gets whether the paragraph formatting feature is allowed.
ParagraphFrames Gets or sets the availability of paragraph frames.
ParagraphFramesAllowed Gets whether frames are allowed in the document.
Paragraphs Gets or sets the availability of the paragraph breaks.
ParagraphsAllowed Gets whether operations with paragraph breaks in the document are allowed.
ParagraphStyle Gets or sets the availability of the apply paragraph style feature.
ParagraphStyleAllowed Gets whether the paragraph styling feature is allowed.
ParagraphTabs Gets or sets the availability of paragraph tab stops.
ParagraphTabsAllowed Gets whether paragraph tab stops are allowed.
Sections Gets or sets the document’s capability to handle document sections.
SectionsAllowed Gets whether handling document sections is allowed.
Tables Gets or sets the document’s capability to handle tables.
TablesAllowed Gets whether the tables feature is allowed.
TableStyle Gets or sets the availability of the apply table style feature.
TableStyleAllowed Gets whether the table style feature is allowed.
TabSymbol Gets or sets the document’s capability to insert tabs.
TabSymbolAllowed Gets whether tab insertion is allowed.
Undo Gets or sets the availability of the Undo/Redo feature.
UndoAllowed Gets whether the Undo/Redo feature is allowed.

Methods

Name Description
Assign(BaseOptions) Copies all settings from the object passed as the parameter to the current object.
BeginUpdate() Locks the BaseOptions object by disallowing visual updates until the EndUpdate or CancelUpdate method is called. Inherited from BaseOptions.
CancelUpdate() Unlocks the BaseOptions object after it has been locked by the BeginUpdate method, without causing an immediate visual update. Inherited from BaseOptions.
CopyFrom(DocumentCapabilitiesOptions) Copies the appropriate properties of the specified object into the current instance of the DocumentCapabilitiesOptions class.
EndUpdate() Unlocks the BaseOptions object after a call to the BeginUpdate method and causes an immediate visual update. 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.
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