The System.Drawing.Printing.PrintAction is used by the System.Drawing.Printing.PrintEventArgs type to indicate what type of PrintDocument.Print event is occurring.
The PrintEventArgs.PrintAction does not reliably indicate the type of print operation occurring, and returns PrintAction.PrintToFile in all cases.
Member Name | Description |
---|---|
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. |