PrintingPermissionLevel 枚举

定义

指定允许代码进行的打印类型。Specifies the type of printing that code is allowed to do.

public enum class PrintingPermissionLevel
[System.Serializable]
public enum PrintingPermissionLevel
type PrintingPermissionLevel = 
Public Enum PrintingPermissionLevel
继承
PrintingPermissionLevel
属性

字段

AllPrinting 3

提供对所有打印机的完全访问。Provides full access to all printers.

DefaultPrinting 2

提供到默认打印机的编程打印,以及通过一个半限制对话框进行的安全打印。Provides printing programmatically to the default printer, along with safe printing through semirestricted dialog box. DefaultPrintingAllPrinting 的子集。DefaultPrinting is a subset of AllPrinting.

NoPrinting 0

禁止对打印机的访问。Prevents access to printers. NoPrintingSafePrinting 的子集。NoPrinting is a subset of SafePrinting.

SafePrinting 1

仅允许从受限制的对话框中提供打印。Provides printing only from a restricted dialog box. SafePrintingDefaultPrinting 的子集。SafePrinting is a subset of DefaultPrinting.

注解

此枚举由 PrintingPermission 类使用。This enumeration is used by the PrintingPermission class.

适用于

另请参阅