PrintAction PrintAction PrintAction PrintAction Enum

定义

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

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

字段

PrintToFile PrintToFile PrintToFile PrintToFile 0

打印操作为打印到文件。The print operation is printing to a file.

PrintToPreview PrintToPreview PrintToPreview PrintToPreview 1

打印操作为打印预览。The print operation is a print preview.

PrintToPrinter PrintToPrinter PrintToPrinter PrintToPrinter 2

打印操作为打印到打印机。The print operation is printing to a printer.

注解

PrintActionPrintEventArgs类型,以指示哪种Print发生事件。The 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.

适用于