Skip to main content

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
ActiveX Gets or sets whether ActiveX controls are available.
Bookmarks Gets or sets the bookmark feature availability.
CharacterFormatting Gets or sets the character formatting features availability.
CharacterStyle Gets or sets the availability of the apply character style feature.
Charts Gets or sets whether embedded charts are available.
Comments Gets or sets the document’s capability to display and work with comments.
ContentControls Gets or sets the document’s capability to display and work with content controls.
EndNotes Gets or sets the document’s capability to contain endnotes (notes placed at the end of the text).
Fields Gets or sets the document’s capability to recognize and work with fields.
FloatingObjects Gets or sets the document’s capability to handle floating objects (shapes with any wrapping type but InLineWithText).
FootNotes Gets or sets the document’s capability to contain footnotes (notes placed at the end of a document).
HeadersFooters Gets whether the headers and footers feature is allowed.
Hyperlinks Gets or sets the hyperlink feature availability.
InlinePictures Gets or sets the document capability to handle inline pictures.
InlineShapes Gets or sets the document capability to handle inline shapes (objects in the document’s text layer).
Macros Gets or sets whether macros are available.
MathEquations Gets or sets whether math equations are available.
Numbering Provides access to options specifying the availability of bulleted and numbered lists in the document.
OleObjects Gets or sets whether OLE objects are available.
PageBorders Gets or sets whether page borders are available.
ParagraphBorders Gets or sets whether paragraph borders are available.
ParagraphFormatting Gets or sets the paragraph formatting features availability.
ParagraphFrames Gets or sets the availability of paragraph frames.
Paragraphs Gets or sets the availability of the paragraph breaks.
ParagraphStyle Gets or sets the availability of the apply paragraph style feature.
ParagraphTabs Gets or sets the availability of paragraph tab stops.
Sections Gets or sets the document’s capability to handle document sections.
Tables Gets or sets the document’s capability to handle tables.
TableStyle Gets or sets the availability of the apply table style feature.
TabSymbol Gets or sets the document’s capability to insert tabs.
TrackChanges Gets or sets whether the Track Changes feature is available.
Undo Gets or sets the availability of the Undo/Redo feature.
Watermarks Gets or sets whether watermarks are available.

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