Intersoft.Client.Documents Namespace > PrintDocument Class : PrintPage Event |
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
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.
Property | Description |
---|---|
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. |
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