LayoutIterator(DocumentLayout) Constructor
In This Article
Initializes a new instance of the LayoutIterator class for the specified document layout.
Namespace: DevExpress.XtraRichEdit.API.Layout
Assembly: DevExpress.RichEdit.v24.2.Core.dll
NuGet Package: DevExpress.RichEdit.Core
#Declaration
public LayoutIterator(
DocumentLayout documentLayout
)
#Parameters
Name | Type | Description |
---|---|---|
document |
Document |
A Document |
#Remarks
Use constructor to create a new LayoutIterator instance when the document layout is invalidated (the LayoutIterator.IsLayoutValid property is false).
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