GetXFARenderedPageCount
Forms, XFA rendering
Description
Parses the current XFA template and returns its static page count without serialising a rendition or changing the source document
The layout pass honours content-area offsets, positioned and top-to-bottom subforms, left-to-right flow, hidden content, explicit page breaks, template defaults, and values bound from the datasets packet
Syntax
Function TPDFlib.GetXFARenderedPageCount: Integer;Return values
| 0 | The document has no supported XFA template or the static layout could not be resolved; inspect LastRenderError |
|---|---|
| > 0 | The number of pages generated by the XFA layout |