All docs
V21.1
21.2 (EAP/Beta)
21.1
20.2
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

Revision.Range Property

Retrieves a range related to the revision.

Namespace: DevExpress.XtraRichEdit.API.Native

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

Declaration

DocumentRange Range { get; }

Property Value

Type Description
DocumentRange

A DocumentRange object that is the range related to the current revision.

Remarks

The Range property retrieves the range after the revision.

The code sample below rejects all revisions on the first page from a specific author. The Revision.Range property is used to determine a section that contains the revision range:

//Reject all revisions on the first page from the specified author:
documentRevisions.RejectAll(x => x.Author == "Janet Leverling" && documentProcessor.Document.Sections[0] == documentProcessor.Document.GetSection(x.Range.Start));
See Also