'Declaration Public Event QueryPrintPage As QueryPrintPageEventHandler
'Usage Dim instance As GridPrintDocument Dim handler As QueryPrintPageEventHandler AddHandler instance.QueryPrintPage, handler
public event QueryPrintPageEventHandler QueryPrintPage
Event Data
The event handler receives an argument of type QueryPrintPageEventArgs containing data related to this event. The following QueryPrintPageEventArgs properties provide information specific to this event.
Property | Description |
---|---|
CurrentPageNumber | Gets the number of the page that is about to be printed. |
IsPageSelected | Gets or sets a boolean value indicating if the page is to be printed. |
PrintPageEventArgs | Gets the PrintPageEventArgs used by the System.Drawing.Printing.PrintDocument.PrintPage event. |
Remarks
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