Exposes properties and methods representing essential document functionality.
NuGet Package: DevExpress.RichEdit.Core
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 snippet (auto-collected from DevExpress Examples) contains a reference to the SubDocument interface.
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.