Back to Devexpress

SubDocument Interface

officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native.md

latest3.5 KB
Original Source

SubDocument Interface

Exposes properties and methods representing essential document functionality.

Namespace : DevExpress.XtraRichEdit.API.Native

Assembly : DevExpress.RichEdit.v25.2.Core.dll

NuGet Package : DevExpress.RichEdit.Core

Declaration

csharp
[ComVisible(true)]
public interface SubDocument
vb
<ComVisible(True)>
Public Interface SubDocument

The following members return SubDocument objects:

Show 11 links

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.

See Also

SubDocument Members

Document

DocumentRange.BeginUpdateDocument

DocumentPosition.BeginUpdateDocument

DevExpress.XtraRichEdit.API.Native Namespace