DataGate Print File Designer® - Build 8.0.355 and above

AutoField.PageNumber Property

The page number of the page currently being printed.

control.PageNumber [= integer]

Property Value

Integer.  Gets or sets the page number of the page currently being printed. 

Note  This does not necessarily correspond to the application's page number.

Remarks

Use PageNumber in conjunction with the PageTotal property to display the page number relative to the total number of pages, such as page "1 of 9", where "1" is PageNumber and "9" is PageTotal.

This property is set when the ValueType property is set to PageNumber.

See Also

AutoField Class | AutoField Class Members | PageTotal Property | ValueType Property