Control Reference > VSPrinter Control > VSPrinter Properties > CurrentPage Property |
Returns the number of the page being printed.
val% = [form!]VSPrinter.CurrentPage
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.
To find out or set which page is being previewed, use the PreviewPage property instead.
Integer