The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.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.

DefaultCharacterProperties

Provides access to default character formatting for the current document.

DefaultParagraphProperties

Provides access to default paragraph formatting for the current document.

DefaultTabWidth

Gets or sets the default value of a tab stop width.

DefaultTableProperties

Provides access to the default properties for document tables.

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.

Fields

Provides access to the collection of fields in the current document.

(Inherited from SubDocument)
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.

Provides access to a collection of hyperlinks in the document.

(Inherited from SubDocument)
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)
ParagraphStyles

Provides access to a collection of paragraph styles in the current document.

Paragraphs

Provides access to a collection of paragraphs.

(Inherited from SubDocument)
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.

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 a collection of Shapes (pictures, text boxes) in the current SubDocument.

(Inherited from SubDocument)
ShowPageBackground

Gets whether the page background color is shown.

(Inherited from SubDocument)
TableStyles

Provides access to a collection of styles defined for tables in the document.

Tables

Provides access to a collection of tables contained in the current document.

(Inherited from SubDocument)
Text

Gets or sets the document's text (plain text).

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