Back to Devexpress

Document Properties

officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-document-dot-underscore-properties.md

latest14.3 KB
Original Source

Document Properties

An interface that exposes the specific functionality of the document.

NameDescription
AbstractNumberingListsProvides access to a collection of abstract numbering lists in the document.
AlignBordersAndEdgesSpecifies whether to align paragraph borders and table edges with page borders.
BookmarksProvides access to the collection of document bookmarks. Inherited from SubDocument.
BorderSurroundsFooterSpecifies whether the page border includes or excludes the footer.
BorderSurroundsHeaderSpecifies whether the page border includes or excludes the header.
CaretPositionGets or sets the position of the caret within the document.
CharacterStylesProvides access to a collection of character styles in the current document.
CommentsProvides access to a collection of comments in the current SubDocument. Inherited from SubDocument.
CompatibilitySettingsProvides access to the document compatibility settings.
ContentControlsObtains content controls obtained in a document. Inherited from SubDocument.
CustomMarksProvides access to a collection of custom marks. Inherited from SubDocument.
CustomPropertiesProvides access to a collection of the document’s custom properties.
CustomXmlPartsProvides access to a document’s collection of custom XML parts.
DefaultCharacterPropertiesProvides access to default character formatting for the current document.
DefaultParagraphPropertiesProvides access to default paragraph formatting for the current document.
DefaultTablePropertiesProvides access to the default properties for document tables.
DefaultTabWidthGets or sets the default value of a tab stop width.
DifferentOddAndEvenPagesGets or sets whether the document has different odd and even pages.
DocBytesGets or sets the document content as an array of bytes in Microsoft Word 97-2003 format (Doc) format.
DocmBytesGets or sets the document content as an array of bytes in DOCM (Microsoft Office Open XML macro-enabled document) format.
DocumentPropertiesProvides access to the collection of document’s core properties.
DocxBytesGets or sets the document content as an array of bytes in Office Open XML (DOCX) format.
DotBytesGets or sets the document content as an array of bytes in DOT (Microsoft Word 97-2007 Template) format.
DotmBytesGets or sets the document content as an array of bytes in DOTM (Microsoft Office Open XML Macro-Enabled Template) format.
DotxBytesGets or sets the document content as an array of bytes in DOTX (Microsoft Office Open XML macro-free template) format.’
EmbedFontsGets or sets whether to embed fonts used in the document.
EncryptionProvides access for the document’s encryption options.
EndnotePositionGets or set the position of endnotes in the document.
EndnotesProvides access to document endnotes.
FieldsProvides access to the collection of fields in the current document. Inherited from SubDocument.
FlatOpcBytesGets or sets the document content as an array of bytes in FlatOpc (Microsoft Word XML Document, .xml) format.
FlatOpcMacroEnabledBytesGets or sets the document content as an array of bytes in FlatOpcMacroEnabled (Microsoft Word XML Macro-Enabled Document, .xml) format.
FlatOpcMacroEnabledTemplateBytesGets or sets the document content as an array of bytes in FlatOpcMacroEnabledTemplate (Microsoft Word XML Macro-Enabled Template, .xml) format.
FlatOpcTemplateBytesGets or sets the document content as an array of bytes in FlatOpcTemplate (Microsoft Word XML Template, .xml) format.
FootnotesProvides access to the document’s footnotes.
FormFieldsProvides access to the collection of the document’s FormField objects. Inherited from SubDocument.
GutterAtTopGets or sets whether to position the gutter margin at the top of the page.
HtmlTextGets or sets the document content as HTML text.
HyperlinksProvides access to a collection of hyperlinks in the document. Inherited from SubDocument.
HyphenateCapsGets or sets whether to hyphenate words in CAPS.
HyphenationGets or sets whether to enable hyphenation in a document.
ImagesProvides access to the collection of all images (inline and floating pictures) in the document . Inherited from SubDocument.
IsDocumentProtectedGets whether document protection is enabled.
IsEmptyIndicates whether the document is empty, i.e. contains only default content.
LengthGets the character length of the document. Inherited from SubDocument.
MarginTypeSpecifies the type of margins used in the document.
MhtTextGets or sets the document content as MHT text.
NumberingListsProvides access to a collection of definitions for numbering lists instantiated in the document.
OdtBytesGets or sets the document content as an array of bytes in Office Open XML (DOCX) format.
OpenDocumentBytesGets or sets the document content as an array of bytes in Open Office Text (.odt) format.
OpenXmlBytesGets or sets the document content as an array of bytes in Office Open XML (DOCX) format.
PageBackColorGets the background color of the page. Inherited from SubDocument.
ParagraphsProvides access to a collection of paragraphs. Inherited from SubDocument.
ParagraphStylesProvides access to a collection of paragraph styles in the current document.
ProtectionTypeGets the protection type for the document.
RangeGets the range for the current document. Inherited from SubDocument.
RequiredExportCapabilitiesObtains information on the formatting capabilities required to export the current document correctly.
RevisionsProvides access to the collection of revisions made in the current document.
RtfTextGets or sets the formatted text content of the document.
SectionsProvides access to a collection of sections.
SelectionGets or sets the selected range in the document.
SelectionsRetrieves a collection of selections in the document.
ShapesReturns the collection of drawing objects in the document. Inherited from SubDocument.
ShowPageBackgroundGets whether the page background color is shown. Inherited from SubDocument.
TablesProvides access to a collection of tables contained in the current document. Inherited from SubDocument.
TableStylesProvides access to a collection of styles defined for tables in the document.
TextGets or sets the document’s text (plain text).
ThemeGets or sets the theme used in the document.
TrackChangesProvides access to the document’s track changes options.
UnitGets or sets a document’s measure units.
UpdateDocVariablesBeforePrintGets or sets whether DOCVARIABLE fields are automatically updated before a document is printed or exported to PDF.
VariablesProvides access to the collection of string values associated with document variables.
VbaProjectObtains the VBA project stored in macro-enabled document.
WatermarkManagerGets a manager that allows you to organize watermarks.
WordMLTextGets or sets the document content as the text in WordProcessingML (Microsoft Office Word 2003 XML) format.

See Also

Document Interface

Document Members

DevExpress.XtraRichEdit.API.Native Namespace