LayoutIterator(DocumentLayout, DocumentRange) 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.1.Core.dll
NuGet Packages: DevExpress.RichEdit.Core, DevExpress.Win.Navigation
Declaration
Parameters
Name | Type | Description |
---|---|---|
documentLayout | DocumentLayout | A DocumentLayout object which provides access to the document layout model. |
range | DocumentRange | A DocumentRange that is the 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.