PrintingPermission settings are required for PowerScript system functions in Windows Forms targets.
System function | Permission required |
---|---|
Print, PrintBitmap, PrintCancel, PrintClose, PrintDataWindow, PrintDefineFont, PrintGetPrinter, PrintScreen, PrintSend, PrintSetFont, PrintSetSpacing, PrintLine, PrintOpen. PrintOval, PrintPage, PrintRect, PrintRoundRect, PrintSetupPrinter, PrintText, PrintWidth, PrintX, PrintY | DefaultPrinting or AllPrinting |
PrintGetPrinters, PrintSetPrinter, PrintSetup | AllPrinting |
Object or control | Function or property | Permission required |
---|---|---|
DataWindow | Print with no arguments | DefaultPrinting or AllPrinting |
Print (canceldialog, true) | AllPrinting | |
DataStore | DefaultPrinting or AllPrinting | |
DragObject | DefaultPrinting or AllPrinting | |
RichTextEdit | PrintEx (cancelDialog) | DefaultPrinting or AllPrinting |
Window | DefaultPrinting or AllPrinting |
<IPermission class="System.Drawing.Printing.PrintingPermission, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" version="1" Level="DefaultPrinting"/>