Page Property

       

Returns the current page number.

Syntax

object.Page

The object placeholder represents an object expression that evaluates to an object in the Applies To list.

Remarks

Visual Basic keeps a count of pages that have been printed since your application started or since the last time the EndDoc statement was used on the Printer object. This count starts at one and increases by one if:

Note    Graphics methods output that doesn't fit on the page doesn't generate a new page. The output is clipped to fit the page's printable area.