.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

Document Properties

An interface that exposes the specific functionality of the document.
Name Description
AbstractNumberingLists Provides access to a collection of abstract numbering lists in the document.
Bookmarks Provides access to the collection of document bookmarks. Inherited from SubDocument.
CaretPosition Gets or sets the position of the caret within the document.
CharacterStyles Provides access to a collection of character styles in the current document.
Comments Provides access to a collection of comments in the current SubDocument. Inherited from SubDocument.
CompatibilitySettings Provides access to the document compatibility settings.
CustomMarks Provides access to a collection of custom marks. Inherited from SubDocument.
CustomProperties Provides access to a collection of the document's custom properties.
CustomXmlParts Provides access to a document's collection of custom XML parts.
DefaultCharacterProperties Provides access to default character formatting for the current document.
DefaultParagraphProperties Provides access to default paragraph formatting for the current document.
DefaultTableProperties Provides access to the default properties for document tables.
DefaultTabWidth Gets or sets the default value of a tab stop width.
DifferentOddAndEvenPages Gets or sets whether the document has different odd and even pages.
DocBytes Gets or sets the document content as an array of bytes in Microsoft Word 97-2003 format (Doc) format.
DocumentProperties Provides access to the collection of document's core properties.
Encryption Provides access for the document's encryption options.
EndnotePosition Gets or set the position of endnotes in the document.
Endnotes Provides access to document endnotes.
Fields Provides access to the collection of fields in the current document. Inherited from SubDocument.
Footnotes Provides access to the document's footnotes.
FormFields Provides access to the collection of the document's FormField objects. Inherited from SubDocument.
HtmlText Gets or sets the document content as HTML text.
Hyperlinks Provides access to a collection of hyperlinks in the document. Inherited from SubDocument.
HyphenateCaps Gets or sets whether to hyphenate words in CAPS.
Hyphenation Gets or sets whether to enable hyphenation in a document.
Images Provides access to the collection of all images (inline and floating pictures) in the document . Inherited from SubDocument.
IsDocumentProtected Gets whether document protection is enabled.
IsEmpty Indicates whether the document is empty, i.e. contains only default content.
Length Gets the character length of the document. Inherited from SubDocument.
MhtText Gets or sets the document content as MHT text.
NumberingLists Provides access to a collection of definitions for numbering lists instantiated in the document.
OpenDocumentBytes Gets or sets the document content as an array of bytes in Open Office Text (.odt) format.
OpenXmlBytes Gets or sets the document content as an array of bytes in Office Open XML (Docx) format.
PageBackColor Gets the background color of the page. Inherited from SubDocument.
Paragraphs Provides access to a collection of paragraphs. Inherited from SubDocument.
ParagraphStyles Provides access to a collection of paragraph styles in the current document.
ProtectionType Gets the protection type for the document.
Range Gets the range for the current document. Inherited from SubDocument.
RequiredExportCapabilities Obtains information on the formatting capabilities required to export the current document correctly.
Revisions Provides access to the collection of revisions made in the current document.
RtfText Gets or sets the formatted text content of the document.
Sections Provides access to a collection of sections.
Selection Gets or sets the selected range in the document.
Selections Provides access to a collection of selections in the document.
Shapes Provides access to the collection of shapes in the document. Inherited from SubDocument.
ShowPageBackground Gets whether the page background color is shown. Inherited from SubDocument.
Tables Provides access to a collection of tables contained in the current document. Inherited from SubDocument.
TableStyles Provides access to a collection of styles defined for tables in the document.
Text Gets or sets the document's text (plain text).
Theme Gets or sets the theme used in the document.
TrackChanges Provides access to the document's track changes options.
Unit Gets or sets a document's measure units.
UpdateDocVariablesBeforePrint Gets or sets whether DOCVARIABLE fields are automatically updated before a document is printed.
Variables Provides access to the collection of string values associated with document variables.
WordMLText Gets or sets the document content as the text in WordProcessingML (Microsoft Office Word 2003 XML) format.
See Also