Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PrintAction Enumeration

 

Specifies the type of print operation occurring.

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

public enum class 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:
© 2017 Microsoft