Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

Revision.Range Property

Retrieves a range related to the revision.

Namespace: DevExpress.XtraRichEdit.API.Native

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

NuGet Package: DevExpress.RichEdit.Core

#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