Skip to main content
Box

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

LayoutIterator(DocumentLayout, SubDocument, FixedRange) Constructor

Initializes a new instance of the LayoutIterator class to navigate in the specified document range.

Namespace: DevExpress.XtraRichEdit.API.Layout

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

NuGet Package: DevExpress.RichEdit.Core

#Declaration

public LayoutIterator(
    DocumentLayout documentLayout,
    SubDocument document,
    FixedRange range
)

#Parameters

Name Type Description
documentLayout DocumentLayout

A DocumentLayout object which provides access to the document layout model.

document SubDocument

A SubDocument that is the document in which the LayoutIterator will navigate.

range FixedRange

A FixedRange object which specifies the starting position and the length of a range in which the LayoutIterator will navigate.

#Remarks

Use constructor to create a new LayoutIterator instance when the document layout is invalidated (the LayoutIterator.IsLayoutValid property is false).

Note

The document layout is invalidated and rebuilt after any document modification. When the user selects another SubDocument (the content of the TextBox, header or footer), the layout is also invalidated.

See Also