Back to Devexpress

Document.GetSection(DocumentPosition) Method

officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-document-dot-getsection-x28-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-documentposition-x29.md

latest1.8 KB
Original Source

Document.GetSection(DocumentPosition) Method

Gets the section encompassing the specified position.

Namespace : DevExpress.XtraRichEdit.API.Native

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

NuGet Package : DevExpress.RichEdit.Core

Declaration

csharp
Section GetSection(
    DocumentPosition pos
)
vb
Function GetSection(
    pos As DocumentPosition
) As Section

Parameters

NameTypeDescription
posDocumentPosition

A DocumentPosition instance representing the position in the document.

|

Returns

TypeDescription
Section

A Section object representing a section containing the position.

|

See Also

ReadOnlyParagraphCollection.Get

Document Interface

Document Members

DevExpress.XtraRichEdit.API.Native Namespace