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 事件处理程序通常用于更改多页窗体中单个页面的设置。例如,它可用来更改页宽。
权限
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。
另请参见
参考
Microsoft.VisualBasic.PowerPacks.Printing 命名空间
其他资源
如何:使用 PrintForm 组件打印窗体 (Visual Basic)