PageCount
This function will return the number of pages that exist in an application. If no pages are used, then it will return "0".
Group: Application-Based Extension
Syntax: vValue = App.PageCount
vValue (Variant) the number of pages in the current application
Example:
Dim iVal As Integer
iVal = App.PageCount
Version Supported: RFgen 5.1 and newer.