DocumentPosition.BeginUpdateDocument() Method
Starts modifying the document obtained via the document's position (e.g. via the caret position).
Namespace: DevExpress.XtraRichEdit.API.Native
Assembly: DevExpress.RichEdit.v14.2.Core.dll
#Declaration
#Returns
Type | Description |
---|---|
Sub |
A Sub |
#Remarks
Use the DocumentPosition.BeginUpdateDocument - DocumentPosition.EndUpdateDocument pair to modify the document obtained via its position in that document (i.e. by using the Document.CaretPosition property). In that case, it is very important to distinguish different parts of the document, such as header, footer or body. The BeginUpdateDocument method implements this requirement.
NOTE
If the location of the obtained document position is ambiguous (it may belong to either header, footer or body of the document), use the Begin