Skip to main content

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.1.Core.dll

NuGet Packages: DevExpress.RichEdit.Core, DevExpress.Win.Navigation

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