PrintEventArgs PrintEventArgs PrintEventArgs PrintEventArgs Class

定义

提供有关 BeginPrintEndPrint 事件的数据。Provides data for the BeginPrint and EndPrint events.

public ref class PrintEventArgs : System::ComponentModel::CancelEventArgs
public class PrintEventArgs : System.ComponentModel.CancelEventArgs
type PrintEventArgs = class
    inherit CancelEventArgs
Public Class PrintEventArgs
Inherits CancelEventArgs
继承
派生

注解

有关打印的详细信息, 请参阅System.Drawing.Printing命名空间概述。For more information about printing, see the System.Drawing.Printing namespace overview.

构造函数

PrintEventArgs() PrintEventArgs() PrintEventArgs() PrintEventArgs()

初始化 PrintEventArgs 类的新实例。Initializes a new instance of the PrintEventArgs class.

属性

Cancel Cancel Cancel Cancel

获取或设置指示是否应取消事件的值。Gets or sets a value indicating whether the event should be canceled.

(Inherited from CancelEventArgs)
PrintAction PrintAction PrintAction PrintAction

在所有情况下均返回 PrintToFileReturns PrintToFile in all cases.

方法

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

获取当前实例的 TypeGets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(Inherited from Object)

适用于

另请参阅