'Declaration
Public Event QueryPageSettings As EventHandler(Of QueryPageSettingsEventArgs)
'Usage
Dim instance As PDFFile Dim handler As EventHandler(Of QueryPageSettingsEventArgs) AddHandler instance.QueryPageSettings, handler
public event EventHandler<QueryPageSettingsEventArgs> QueryPageSettings
public: __event EventHandler<QueryPageSettingsEventArgs*>* QueryPageSettings
public: event EventHandler<QueryPageSettingsEventArgs^>^ QueryPageSettings
Event Data
The event handler receives an argument of type 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 | Returns System.Drawing.Printing.PrintAction.PrintToFile in all cases. (Inherited from System.Drawing.Printing.PrintEventArgs) |
Remarks
You can use this event to change the page printing properties, such as paper size and paper source.
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