Skip to main content
.NET Framework 4.5.2+

Field.Range Property

Returns the document range the field occupies.

Namespace: DevExpress.XtraRichEdit.API.Native

Assembly: DevExpress.RichEdit.v23.1.Core.dll

NuGet Package: DevExpress.RichEdit.Core


DocumentRange Range { get; }

Property Value

Type Description

The document range that contains the field (including its code and result).


Use the Field.CodeRange property to obtain the field code’s range, and the Field.ResultRange property to retrieve the field result’s range.

The following code snippets (auto-collected from DevExpress Examples) contain references to the Range property.


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.

See Also