次の方法で共有


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

'Declaration
<BrowsableAttribute(False)> _
Public Event QueryPageSettings As QueryPageSettingsEventHandler
[BrowsableAttribute(false)]
public event QueryPageSettingsEventHandler QueryPageSettings
[BrowsableAttribute(false)]
public:
 event QueryPageSettingsEventHandler^ QueryPageSettings {
    void add (QueryPageSettingsEventHandler^ value);
    void remove (QueryPageSettingsEventHandler^ value);
}
[<BrowsableAttribute(false)>]
member QueryPageSettings : IEvent<QueryPageSettingsEventHandler,
    QueryPageSettingsEventArgs>
JScript does not support events.

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.

.NET Framework Security

See Also

Reference

PrintForm Class

Microsoft.VisualBasic.PowerPacks.Printing Namespace

Other Resources

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)