The Document type exposes the following members.
Gets or sets the full path of the template attached to the document.
Gets or sets a flag indicating whether the styles in the document are updated to match the styles in the attached template each time the document is opened in MS Word.
Gets or sets the background shape of the document. Can be null.(Inherited from DocumentBase.)
Returns a collection that represents all the built-in document properties of the document.
Gets all immediate child nodes of this node.(Inherited from CompositeNode.)
Provides access to document compatibility options (that is, the user preferences entered on the Compatibility tab of the Options dialog in Word).
Gets the OOXML compliance version determined from the loaded document content. Makes sense only for OOXML documents.
Gets the number of immediate children of this node.(Inherited from CompositeNode.)
Returns a collection that represents all the custom document properties of the document.
Gets or sets the collection of Custom XML Data Storage Parts.
Gets or sets the interval (in points) between the default tab stops.
Gets the collection of digital signatures for this document and their validation results.
|Document||(Inherited from DocumentBase.)|
Provides options that control numbering and positioning of endnotes in this document.
Gets a FieldOptions object that represents options to control field handling in the document.
Gets the first child of the node.(Inherited from CompositeNode.)
Gets the first section in the document.
Provides access to properties of fonts used in this document.(Inherited from DocumentBase.)
Gets or sets document font settings.
Provides options that control numbering and positioning of footnotes in this document.
Gets or sets the glossary document within this document or template. A glossary document is a storage for AutoText, AutoCorrect and Building Block entries defined in a document.
Returns true if this node has any child nodes.(Inherited from CompositeNode.)
Returns true if the document has a VBA project (macros).
Returns true if the document has any tracked changes.
Provides access to document hyphenation options.
Returns true as this node can have child nodes.(Inherited from CompositeNode.)
Gets the last child of the node.(Inherited from CompositeNode.)
Gets the last section in the document.
Gets a LayoutOptions object that represents options to control the layout process of this document.
Provides access to the list formatting used in the document.(Inherited from DocumentBase.)
Returns a MailMerge object that represents the mail merge functionality for the document.
Gets or sets the object that contains all of the mail merge information for a document.
Gets the node immediately following this node.(Inherited from Node.)
Called when a node is inserted or removed in the document.(Inherited from DocumentBase.)
Returns NodeType.Document.(Overrides NodeNodeType.)
Gets the original file name of the document.
Gets the format of the original document that was loaded into this object.
Gets or sets the collection of custom parts (arbitrary content) that are linked to the OOXML package using "unknown relationships".
Gets or sets the page color of the document. This property is a simpler version of BackgroundShape.(Inherited from DocumentBase.)
Gets the number of pages in the document as calculated by the most recent page layout operation.
Gets the immediate parent of this node.(Inherited from Node.)
Gets the node immediately preceding this node.(Inherited from Node.)
Gets the currently active document protection type.
Returns a Range object that represents the portion of a document that is contained in this node.(Inherited from Node.)
Gets or sets a flag indicating that Microsoft Word will remove all user information from comments, revisions and document properties upon saving the document.
Allows to control how external resources are loaded.(Inherited from DocumentBase.)
Gets a collection of revisions (tracked changes) that exist in this document.
Gets or sets a value indicating whether to work with the original or revised version of a document.
Returns a collection that represents all sections in the document.
Specifies whether to turn on the gray shading on form fields.
Returns a collection of styles defined in the document.(Inherited from DocumentBase.)
Gets the Theme object for this document.
True if changes are tracked when this document is edited in Microsoft Word.
Returns the collection of variables added to a document or template.
Gets or sets a VbaProject.
Gets the number of document versions that was stored in the DOC document.
Provides options to control how the document is displayed in Microsoft Word.
Called during various document processing procedures when an issue is detected that might result in data or formatting fidelity loss.(Inherited from DocumentBase.)
Returns a collection that represents a list of task pane add-ins.
Provides access to the document write protection options.