PrintAction Enumeration

PrintAction Enumeration

 

Specifies the type of print operation occurring.

Namespace:   System.Drawing.Printing
Assembly:  System.Drawing (in System.Drawing.dll)

public enum PrintAction

Member nameDescription
PrintToFile

The print operation is printing to a file.

PrintToPreview

The print operation is a print preview.

PrintToPrinter

The print operation is printing to a printer.

The PrintAction is used by the PrintEventArgs type to indicate what type of Print event is occurring.

System_CAPS_noteNote

The PrintEventArgs.PrintAction does not reliably indicate the type of print operation occurring, and returns PrintToFile in all cases.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft