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

DocumentIterator(SubDocument, Int32, Int32, Boolean) Constructor

Initializes a new instance of the DocumentIterator class for the specified part of the document.

Namespace: DevExpress.XtraRichEdit.API.Native

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

NuGet Package: DevExpress.RichEdit.Core

#Declaration

public DocumentIterator(
    SubDocument document,
    int start,
    int length,
    bool visibleTextOnly = false
)

#Parameters

Name Type Description
document SubDocument

A SubDocument instance through which the document iterator will traverse.

start Int32

An Int object that is the DocumentIterator initial position.

length Int32

An Int object that is the range length the iterator needs to go through.

#Optional Parameters

Name Type Default Description
visibleTextOnly Boolean False

true if the iterator should visit only visible text; otherwise, false.

See Also