Back to Devexpress

PdfPermissionsOptions.PrintingPermissions Property

corelibraries-devexpress-dot-xtraprinting-dot-pdfpermissionsoptions-09722070.md

latest2.7 KB
Original Source

PdfPermissionsOptions.PrintingPermissions Property

Specifies the permissions for printing the exported PDF document.

Namespace : DevExpress.XtraPrinting

Assembly : DevExpress.Printing.v25.2.Core.dll

NuGet Package : DevExpress.Printing.Core

Declaration

csharp
[DefaultValue(PrintingPermissions.None)]
public PrintingPermissions PrintingPermissions { get; set; }
vb
<DefaultValue(PrintingPermissions.None)>
Public Property PrintingPermissions As PrintingPermissions

Property Value

TypeDefaultDescription
PrintingPermissionsNone

A PrintingPermissions object, containing the printing permissions.

|

Available values:

NameDescription
None

Forbids printing of the PDF document, unless the PdfPasswordSecurityOptions.PermissionsOptions are accessed and modified.

| | LowResolution |

Permits the PDF document’s printing in low resolution only (150 dpi), unless the PdfPasswordSecurityOptions.PermissionsOptions are accessed and modified.

| | HighResolution |

Permits the PDF document’s printing in high resolution only, unless the PdfPasswordSecurityOptions.PermissionsOptions are accessed and modified.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to PrintingPermissions
PdfPasswordSecurityOptions

.PermissionsOptions .PrintingPermissions

|

Remarks

Use the PrintingPermissions property, to forbid a document’s printing ( None ), or specify the default printing resolution ( LowResolution or HighResolution ).

See Also

PdfPermissionsOptions Class

PdfPermissionsOptions Members

DevExpress.XtraPrinting Namespace