提供有关 Print 和 PrintingBegin 事件的数据。
继承层次结构
Object
EventArgs
CancelEventArgs
Microsoft.Reporting.WinForms.ReportPrintEventArgs
命名空间: Microsoft.Reporting.WinForms
程序集: Microsoft.ReportViewer.WinForms(在 Microsoft.ReportViewer.WinForms.dll 中)
语法
声明
<ComVisibleAttribute(False)> _
Public NotInheritable Class ReportPrintEventArgs _
Inherits CancelEventArgs
[ComVisibleAttribute(false)]
public sealed class ReportPrintEventArgs : CancelEventArgs
[ComVisibleAttribute(false)]
public ref class ReportPrintEventArgs sealed : public CancelEventArgs
[<Sealed>]
[<ComVisibleAttribute(false)>]
type ReportPrintEventArgs =
class
inherit CancelEventArgs
end
public final class ReportPrintEventArgs extends CancelEventArgs
ReportPrintEventArgs 类型公开以下成员。
属性
名称 | 说明 | |
---|---|---|
![]() |
Cancel | 获取或设置指示是否应取消事件的值。 (继承自 CancelEventArgs。) |
![]() |
PrinterSettings | 获取或设置要用于当前操作的打印机设置。 |
页首
方法
名称 | 说明 | |
---|---|---|
![]() |
Equals | 确定指定的对象是否等于当前对象。 (继承自 Object。) |
![]() |
GetHashCode | 作为默认哈希函数。 (继承自 Object。) |
![]() |
GetType | 获取当前实例的 Type。 (继承自 Object。) |
![]() |
ToString | 返回表示当前对象的字符串。 (继承自 Object。) |
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。