PrintingPage
EventPrintingPage (Event)
This event occurs when a page is being printed and returns the number of the current printing page and the number of the total pages to be print
Syntax:
Private Sub object_PrintingPage(Sender As System.Object, e As PrintingPageEventArgs)
The PrintingPage event syntax has the following parts:
Argument |
Data Type |
Description |
Sender |
System.Object |
The object that raises the event |
e.lNowPage |
Integer |
The page number of the current page being printed |
e.lMaxPage |
Integer |
The total number of pages printed |