PrintAction 枚举

定义

指定正在进行的打印操作的类型。Specifies the type of print operation occurring.

public enum class PrintAction
public enum PrintAction
type PrintAction = 
Public Enum PrintAction
继承
PrintAction

字段

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.

注解

由类型用于指示正在发生的Print事件类型。 PrintEventArgs PrintActionThe PrintAction is used by the PrintEventArgs type to indicate what type of Print event is occurring.

备注

PrintEventArgs.PrintAction不能可靠地指示发生打印操作的类型, 并在所有情况下均返回 PrintToFile。The PrintEventArgs.PrintAction does not reliably indicate the type of print operation occurring, and returns PrintToFile in all cases.

适用于