PdfPermissions Struct
Definition
Decodes the PDF document permission bits into named capabilities. For an unprotected document all capabilities are allowed.
public struct PdfPermissions
Constructors
| Name | Description |
|---|---|
| PdfPermissions | Initializes a new instance from the raw permission bitfield. |
PdfPermissions Constructor
Initializes a new instance from the raw permission bitfield.
public PdfPermissions(uint rawValue)
Parameters
rawValue uint
Properties
| Name | Description |
|---|---|
| CanAnnotate | Whether annotations may be added or modified. |
| CanAssemble | Whether pages may be inserted, deleted, or reordered. |
| CanCopyContent | Whether text and graphics may be copied/extracted. |
| CanExtractForAccessibility | Whether content may be extracted for accessibility. |
| CanFillForms | Whether interactive form fields may be filled. |
| CanModify | Whether the document content may be modified. |
| CanPrint | Whether the document may be printed. |
| CanPrintHighQuality | Whether the document may be printed at high quality. |
| RawValue | Gets the raw permission bitfield (0xFFFFFFFF when unrestricted). |
CanAnnotate Property
Whether annotations may be added or modified.
public bool CanAnnotate { get; set; }
CanAssemble Property
Whether pages may be inserted, deleted, or reordered.
public bool CanAssemble { get; set; }
CanCopyContent Property
Whether text and graphics may be copied/extracted.
public bool CanCopyContent { get; set; }
CanExtractForAccessibility Property
Whether content may be extracted for accessibility.
public bool CanExtractForAccessibility { get; set; }
CanFillForms Property
Whether interactive form fields may be filled.
public bool CanFillForms { get; set; }
CanModify Property
Whether the document content may be modified.
public bool CanModify { get; set; }
CanPrint Property
Whether the document may be printed.
public bool CanPrint { get; set; }
CanPrintHighQuality Property
Whether the document may be printed at high quality.
public bool CanPrintHighQuality { get; set; }
RawValue Property
Gets the raw permission bitfield (0xFFFFFFFF when unrestricted).
public uint RawValue { get; set; }