SubDocument Interface
Exposes properties and methods representing essential document functionality.
Namespace: DevExpress.XtraRichEdit.API.Native
Assembly: DevExpress.RichEdit.v19.1.Core.dll
Declaration
Remarks
The SubDocument interface delivers the basic document functionality that is common for the header, footer and the main document body. Specific functionality belongs to the Document interface.
To modify a document obtained via selection or the caret position, use the DocumentRange.BeginUpdateDocument or the DocumentPosition.BeginUpdateDocument methods, returning the SubDocument interface. Make sure to properly finalize modifications, by calling the corresponding EndUpdateDocument methods.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the SubDocument interface.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.