PrintEventArgs Class

Definition

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
Inheritance
Derived

Remarks

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

Constructors

PrintEventArgs()

Initializes a new instance of the PrintEventArgs class.

Properties

Cancel

Gets or sets a value indicating whether the event should be canceled.

(Inherited from CancelEventArgs)
PrintAction

Returns PrintToFile in all cases.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also