This documentation is archived and is not being maintained.

PrintingPermissionLevel Enumeration

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

[Visual Basic]
Public Enum PrintingPermissionLevel
public enum PrintingPermissionLevel
__value public enum PrintingPermissionLevel
enum PrintingPermissionLevel


This enumeration is used by the PrintingPermission class.


Member name Description
AllPrinting Provides full access to all printers.
DefaultPrinting Provides printing programmatically to the default printer, along with safe printing through a less restricted 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.


Namespace: System.Drawing.Printing

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

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

See Also

System.Drawing.Printing Namespace