SpreadsheetGear 2017
QueryPageSettings Event (WorkbookPrintDocument)






SpreadsheetGear.Drawing.Printing Namespace > WorkbookPrintDocument Class : QueryPageSettings Event
Syntax
'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
Event Data

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.

PropertyDescription
(Inherited from System.ComponentModel.CancelEventArgs)
Gets or sets the page settings for the page to be printed.  
(Inherited from System.Drawing.Printing.PrintEventArgs)
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