Component: TPdf · Unit: PDFium
Fires when the XFA engine repaginates a dynamic form, reporting the new page count so the host can refresh scroll ranges and navigation that cached the pre-repagination PageCount
Remarks
- Only fires for dynamic XFA Full forms whose layout changes at runtime; static XFA and AcroForm never trigger it
- The new PageCount is already reflected in TPdf.PageCount by the time the event fires
- In v3.126.1,
NewCount is the actual total from the completed XFA layout after either added or removed pages; it is never the native callback's added/removed delta
- Unassigned is safe — the internal page-count override is applied regardless, this event is purely informational
See Also