Control Reference > VSPrinter Control > VSPrinter Properties > PageCount Property |
Returns the number of pages in the current document.
val% = [form!]VSPrinter.PageCount
While the preview document is being created, this property holds the number of the page being created. Once the document is ready, it holds the total page count.
This property is an alias for the CurrentPage property.
Integer