officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-section-2036d162.md
Retrieves the range occupied by the current section.
Namespace : DevExpress.XtraRichEdit.API.Native
Assembly : DevExpress.RichEdit.v25.2.Core.dll
NuGet Package : DevExpress.RichEdit.Core
DocumentRange Range { get; }
ReadOnly Property Range As DocumentRange
| Type | Description |
|---|---|
| DocumentRange |
A DocumentRange object that is the section’s range.
|
Note
The Range property returns the range of only the section’s main content.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Range property.
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.
office-file-api-ai-implementation/CS/Controllers/ProofreadController.cs#L42
case RichEditDocumentPart.FirstSection:
var sectionRange = wordProcessor.Document.Sections[0].Range;
await docProcessingService.ProofreadAsync(sectionRange, cultureInfo);
See Also