PDFView4NET WinForms Edition
QueryPageSettings Event




O2S.Components.PDFRender4NET Namespace > PDFFile Class : QueryPageSettings Event
Fired before a PDF page is printed for setting page properties.
Syntax
'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.

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