'Declaration
<SRDescriptionAttribute("PDOCqueryPageSettingsDescr")> Public Event QueryPageSettings As System.Drawing.Printing.QueryPageSettingsEventHandler
'Usage
Dim instance As WorkbookPrintDocument Dim handler As System.Drawing.Printing.QueryPageSettingsEventHandler AddHandler instance.QueryPageSettings, handler
[SRDescription("PDOCqueryPageSettingsDescr")] public event System.Drawing.Printing.QueryPageSettingsEventHandler QueryPageSettings
public event QueryPageSettings: System.Drawing.Printing.QueryPageSettingsEventHandler;
In JScript, you can handle the events defined by another class, but you cannot define your own.
[SRDescription("PDOCqueryPageSettingsDescr")] public: __event System.Drawing.Printing.QueryPageSettingsEventHandler* QueryPageSettings
[SRDescription("PDOCqueryPageSettingsDescr")] public: event System.Drawing.Printing.QueryPageSettingsEventHandler^ QueryPageSettings
The event handler receives an argument of type System.Drawing.Printing.QueryPageSettingsEventArgs containing data related to this event. The following QueryPageSettingsEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Cancel | (Inherited from System.ComponentModel.CancelEventArgs) |
PageSettings | Gets or sets the page settings for the page to be printed. |
PrintAction | (Inherited from System.Drawing.Printing.PrintEventArgs) |
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