Back to Devexpress

DocumentRange Members

officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-documentrange-dot-underscore-members.md

latest2.0 KB
Original Source

DocumentRange Members

Defines a document range.

Properties

NameDescription
EndGets the end position of the DocumentRange.
IsFrozenIndicates whether the current DocumentRange is uneditable.
LengthGets the length of a document range in characters.
StartGets the start position of the DocumentRange.

Methods

NameDescription
BeginUpdateDocument()Starts modifying the document obtained via the document’s range (e.g. via selection).
Contains(DocumentPosition)Gets whether the current document range contains a specified position.
EndUpdateDocument(SubDocument)Finalizes modifications of the document obtained via the document’s range (e.g. via selection).
Freeze()Makes the current DocumentRange object uneditable.

See Also

DocumentRange Interface

DevExpress.XtraRichEdit.API.Native Namespace