Export (0) Print
Expand All

QueryPageSettingsEventArgs Class

Provides data for the QueryPageSettings event.

For a list of all members of this type, see QueryPageSettingsEventArgs Members.


[Visual Basic]
Public Class QueryPageSettingsEventArgs
   Inherits PrintEventArgs
public class QueryPageSettingsEventArgs : PrintEventArgs
public __gc class QueryPageSettingsEventArgs : public
public class QueryPageSettingsEventArgs extends PrintEventArgs

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


It is possible to print each page of a document using different page settings. You set page settings by modifying individual properties of the PageSettings property or by setting the property to a PageSettings. The print job can also be canceled by setting the Cancel property to true.

To associate the event with your event handler, add an instance of the QueryPageSettingsEventHandler delegate to the QueryPageSettings event. The event handler is called whenever the event occurs. For more information about handling events with delegates, see Events and Delegates.


Namespace: System.Drawing.Printing

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: System.Drawing (in System.Drawing.dll)

See Also

QueryPageSettingsEventArgs Members | System.Drawing.Printing Namespace | PrintDocument | OnQueryPageSettings | QueryPageSettings | QueryPageSettingsEventHandler

© 2014 Microsoft