Class PdfPermissionSet
What a reader who opens the document with the user password may do (ISO 32000-2 Table 22).
public sealed record PdfPermissionSet : IEquatable<PdfPermissionSet>
- Inheritance
-
PdfPermissionSet
- Implements
- Inherited Members
Properties
All
public static PdfPermissionSet All { get; }
Property Value
AssemblePages
Bit 11: inserting, rotating and deleting pages, and bookmarks and thumbnails.
public bool AssemblePages { get; init; }
Property Value
ChangeDocument
Bit 4: changing the document other than by the operations below.
public bool ChangeDocument { get; init; }
Property Value
Comment
Bit 6: adding and changing comments; also allows filling in forms.
public bool Comment { get; init; }
Property Value
CopyContent
Bit 5: copying or extracting text and graphics.
public bool CopyContent { get; init; }
Property Value
CopyForAccessibility
Bit 10: extracting text and graphics for accessibility.
public bool CopyForAccessibility { get; init; }
Property Value
FillForms
Bit 9: filling in form fields, including signature fields.
public bool FillForms { get; init; }
Property Value
IsUnrestricted
public bool IsUnrestricted { get; }
Property Value
None
public static PdfPermissionSet None { get; }
Property Value
Printing
public PdfPrintPermission Printing { get; init; }
Property Value
Methods
FromFlags(int)
The bits of /P as they are stored (revision 3 and later); bit 6 implying form filling is not folded in.
public static PdfPermissionSet FromFlags(int p)
Parameters
pint
Returns
ToFlags()
/P for revision 3 and later: bits 1–2 clear, 7–8 and 13–32 set, the rest as chosen.
public int ToFlags()