PrintingPermissionLevel Enumeration

 

Specifies the type of printing that code is allowed to do.

Namespace:   System.Drawing.Printing
Assembly:  System.Drawing (in System.Drawing.dll)

[SerializableAttribute]
public enum class PrintingPermissionLevel

Member nameDescription
AllPrinting

Provides full access to all printers.

DefaultPrinting

Provides printing programmatically to the default printer, along with safe printing through semirestricted dialog box. DefaultPrinting is a subset of AllPrinting.

NoPrinting

Prevents access to printers. NoPrinting is a subset of SafePrinting.

SafePrinting

Provides printing only from a restricted dialog box. SafePrinting is a subset of DefaultPrinting.

This enumeration is used by the PrintingPermission class.

.NET Framework
Available since 1.1
Return to top
Show: