PrintEventArgs PrintEventArgs PrintEventArgs PrintEventArgs Class


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


For more information about printing, see the System.Drawing.Printing namespace overview.


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

Returns 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()

Gets the Type of the current instance.

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

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)

Applies to

See also