PrintingPage

Top  Previous  Next

 

PrintingPage (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

Is the object that raises the event

e.lNowPage

Integer

Is the page number of the current page being printed

e.lMaxPage

Integer

Is the total number of pages printed

 

Example