The PageTotal property specifies the total number of pages to be printed.
control.PageTotal [= integer]
Integer. Gets or sets the total number of pages to be printed.
Use PageTotal in conjunction with the PageNumber property to display the current page along with the total number of pages that will print, such as "1 of 9", where "1" is PageNumber and "9" is PageTotal.
This property is set when the ValueType property is set to PageTotal.
AutoField Class | AutoField Class Members | PageNumber Property | ValueType Property