Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

DocumentRange Members

Defines a document range.

Properties

Name Description
End Gets the end position of the DocumentRange.
IsFrozen Indicates whether the current DocumentRange is frozen.
Length Gets the length of a document range in characters.
Start Gets the start position of the DocumentRange.

Methods

Name Description
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