System.Drawing.Printing.QueryPageSettingsEventArgs Class

Provides data for the PrintDocument.QueryPageSettings event.

See Also: QueryPageSettingsEventArgs Members

Syntax

public class QueryPageSettingsEventArgs : PrintEventArgs

Remarks

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

Requirements

Namespace: System.Drawing.Printing
Assembly: System.Drawing (in System.Drawing.dll)
Assembly Versions: 1.0.3300.0, 1.0.5000.0, 2.0.0.0