www.icetips.com  Icetips Utilities Documentation 6/26/2012    

Page Of Pages Class: PageOf

Previous  Top  Next  


The PageOf property is used in the SetPageOfPages and SetPageOfText methods and is used to keep the current page number.  This is the X value in the "page X of N" string.  When the SetPageOfPages is called the TotalPages and LastPointer properties are set so that the next time SetPageOfPages is called, PageOf restarts the counting.  This enables you to use the Page of Pages class for example to put correct page numbers on invoices where a single customer can have one or more pages, even if you are printing out multiple invoices.  The "page X of" will be reset for each customer.

 

It is declared as:

 

PageOf                     Long

 



Direct link to this page: http://www.icetips.com/manuals/utilities/pageof_pageofpage.htm