Name

PrintingPermissionLevel

Synopsis

This enumeration allows you to determine how access to the printing services can be restricted. You can allow full access with AllPrinting, no access with NoPrinting, or one of two restricted settings: SafePrinting, which only allows printing through a (restricted) dialog box, and DefaultPrinting, which extends these permissions to allow full access to the default printer.


public enum PrintingPermissionLevel {

   NoPrinting = 0,

   SafePrinting = 1,

   DefaultPrinting = 2,

   AllPrinting = 3

}

Hierarchy

System.Object System.ValueType System.Enum(System.IComparabl, System.IFormattable, System.IConvertible) PrintingPermissionLevel

Returned By

PrintingPermission.Level, PrintingPermissionAttribute.Level

Passed To

PrintingPermission.{Level, PrintingPermission()}, PrintingPermissionAttribute.Level

Get .NET Windows Forms in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.