PrintForm.QueryPageSettings Event

 

Occurs immediately before each page is printed.

Namespace:   Microsoft.VisualBasic.PowerPacks.Printing
Assembly:  Microsoft.VisualBasic.PowerPacks.Vs (in Microsoft.VisualBasic.PowerPacks.Vs.dll)

Syntax

[BrowsableAttribute(false)]
public event QueryPageSettingsEventHandler QueryPageSettings
public:
[BrowsableAttribute(false)]
event QueryPageSettingsEventHandler^ QueryPageSettings {
    void add(QueryPageSettingsEventHandler^ value);
    void remove(QueryPageSettingsEventHandler^ value);
}
[<BrowsableAttribute(false)>]
member QueryPageSettings : IEvent<QueryPageSettingsEventHandler,
    QueryPageSettingsEventArgs>
<BrowsableAttribute(False)>
Public Event QueryPageSettings As QueryPageSettingsEventHandler

Remarks

The QueryPageSettings event handler is typically used to change settings for a single page in a multi-page form. For example, it can be used to change the page width.

See Also

PrintForm Class
Microsoft.VisualBasic.PowerPacks.Printing Namespace
PrintForm Component (Visual Basic)
How to: Print a Form by Using the PrintForm Component (Visual Basic)
How to: Print the Client Area of a Form (Visual Basic)
How to: Print Client and Non-Client Areas of a Form (Visual Basic)
How to: Print a Scrollable Form (Visual Basic)
Deploying Applications That Reference the PrintForm Component (Visual Basic)

Return to top