Fires after any document modification which makes the current layout outdated.
The DocumentLayoutInvalidated event's data class is DocumentLayoutInvalidatedEventArgs. The following properties provide information specific to this event:
|PageIndex||Returns an index of a page from which the document layout recalculation starts.|
When a document is changed, the DocumentLayout.DocumentLayoutInvalidated event occurs. After an individual page is formatted, the DocumentLayout.PageFormatted event fires. And finally, when the document layout is calculated for all pages, the DocumentLayout.DocumentFormatted event is raised.
Event data contains a page index that identifies the page at which layout recalculation starts. Previous pages are not recalculated so their layout remains valid.