PrintingPermissionLevel Enumeration

PrintingPermissionLevel Enumeration

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

[Visual Basic]
<Serializable>
Public Enum PrintingPermissionLevel
[C#]
[Serializable]
public enum PrintingPermissionLevel
[C++]
[Serializable]
__value public enum PrintingPermissionLevel
[JScript]
public
   Serializable
enum PrintingPermissionLevel

Remarks

This enumeration is used by the PrintingPermission class.

Members

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.

Requirements

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

Show:
© 2016 Microsoft