Intersoft ClientUI Documentation
PrintPage Event



Occurs when each page is printing.
Syntax
Public Event PrintPage As EventHandler(Of PrintPageEventArgs)
Dim instance As PrintDocument
Dim handler As EventHandler(Of PrintPageEventArgs)
 
AddHandler instance.PrintPage, handler
public event EventHandler<PrintPageEventArgs> PrintPage
public:
event EventHandler<PrintPageEventArgs^>^ PrintPage
Event Data

The event handler receives an argument of type PrintPageEventArgs containing data related to this event. The following PrintPageEventArgs properties provide information specific to this event.

PropertyDescription
HasMorePages Gets or sets whether there are more pages to print.
PageMargins Gets the margins of the page that is currently printing.
PageVisual Gets or sets the visual element to print.
PrintableArea Gets the size of the printable area.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PrintDocument Class
PrintDocument Members

Send Feedback