Share via


ReportPrintEventArgs 類別

提供 PrintPrintingBegin 事件的資料。

繼承階層架構

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)。

回頁首

執行緒安全

這個類型的任何 Public static (在 Visual Basic 中為 Shared) 成員都是安全執行緒。不保證任何執行個體成員是安全執行緒。

請參閱

參考

Microsoft.Reporting.WinForms 命名空間