PrintAction Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the type of print operation occurring.
public enum class PrintAction
public enum PrintAction
type PrintAction =
Public Enum PrintAction
- Inheritance
Fields
Name | Value | Description |
---|---|---|
PrintToFile | 0 | The print operation is printing to a file. |
PrintToPreview | 1 | The print operation is a print preview. |
PrintToPrinter | 2 | The print operation is printing to a printer. |
Remarks
The PrintAction is used by the PrintEventArgs type to indicate what type of Print event is occurring.
Note
The PrintEventArgs.PrintAction does not reliably indicate the type of print operation occurring, and returns PrintToFile in all cases.