Permissions

public struct Permissions : OptionSet

Permission flags to use in a document.

  • Declaration

    Swift

    public var rawValue: Int32
  • Declaration

    Swift

    public init(rawValue: Int32)
  • The user can read the document.

    Declaration

    Swift

    public static let read: PDFDocument.Permissions
  • The user can print the document.

    Declaration

    Swift

    public static let print: PDFDocument.Permissions
  • The user can edit the contents of the document other than annotations, form fields.

    Declaration

    Swift

    public static let editAll: PDFDocument.Permissions
  • The user can copy the text and the graphics of the document.

    Declaration

    Swift

    public static let copy: PDFDocument.Permissions
  • The user can add or modify the annotations and form fields of the document.

    Declaration

    Swift

    public static let edit: PDFDocument.Permissions