PrintForm.QueryPageSettings 事件

更新:2007 年 11 月

在打印每一页之前发生。

命名空间:  Microsoft.VisualBasic.PowerPacks.Printing
程序集:  Microsoft.VisualBasic.PowerPacks.Vs(在 Microsoft.VisualBasic.PowerPacks.Vs.dll 中)

语法

声明
<BrowsableAttribute(False)> _
Public Event QueryPageSettings As QueryPageSettingsEventHandler
用法
Dim instance As PrintForm
Dim handler As QueryPageSettingsEventHandler

AddHandler instance.QueryPageSettings, handler
[BrowsableAttribute(false)]
public event QueryPageSettingsEventHandler QueryPageSettings
[BrowsableAttribute(false)]
public:
 event QueryPageSettingsEventHandler^ QueryPageSettings {
    void add (QueryPageSettingsEventHandler^ value);
    void remove (QueryPageSettingsEventHandler^ value);
}
JScript 不支持事件。

备注

QueryPageSettings 事件处理程序通常用于更改多页窗体中单个页面的设置。例如,它可用来更改页宽。

权限

另请参见

参考

PrintForm 类

PrintForm 成员

Microsoft.VisualBasic.PowerPacks.Printing 命名空间

其他资源

PrintForm 组件 (Visual Basic)

如何:使用 PrintForm 组件打印窗体 (Visual Basic)

如何:打印窗体的工作区 (Visual Basic)

如何:打印窗体的工作区和非工作区 (Visual Basic)

如何:打印可滚动的窗体 (Visual Basic)

部署引用 PrintForm 组件的应用程序