Function.Automation.PDF.GetPageCount
From GAB Help
This function returns the page count from the specified PDF reference.
Syntax
Function.Automation.PDF.GetPageCount(PDF ReferenceName[string], Return[long])
Arguments
PDF Reference
Reference name of the PDF file previously opened with Function.Automation.PDF.Open.
Return
Long
Examples
Function.Automation.PDF.GetPageCount("pdfSample",V.Local.iRet)