PSPDFFeatureMask

enum PSPDFFeatureMask {}

Declares all possible feature flags in a license.

  • Undocumented

    Declaration

    Objective-C

    enum PSPDFFeatureMask {}
  • View PDFs without watermark. Automatically enabled by every valid license key.

    Declaration

    Objective-C

    PSPDFFeatureMaskPDFViewer = 1 << 0

    Swift

    static var maskPDFViewer: PSPDFFeatureMask { get }
  • Text Selection. Was included in PSPDFKit Basic.

    Declaration

    Objective-C

    PSPDFFeatureMaskTextSelection = 1 << 1

    Swift

    static var maskTextSelection: PSPDFFeatureMask { get }
  • Enables PSPDFAESCryptoDataProvider and the various other crypto related classes. (PSPDFCryptoInputStream, PSPDFCryptoOutputStream, PSPDFAESDecryptor, PSPDFAESEncryptor)

    Declaration

    Objective-C

    PSPDFFeatureMaskStrongEncryption = 1 << 2

    Swift

    static var maskStrongEncryption: PSPDFFeatureMask { get }
  • Create PDF documents (PSPDFProcessor - except flattening).

    Declaration

    Objective-C

    PSPDFFeatureMaskPDFCreation = 1 << 3

    Swift

    static var maskPDFCreation: PSPDFFeatureMask { get }
  • Edit/Create annotations.

    Declaration

    Objective-C

    PSPDFFeatureMaskAnnotationEditing = 1 << 4

    Swift

    static var maskAnnotationEditing: PSPDFFeatureMask { get }
  • PDF Forms display/editing.

    Declaration

    Objective-C

    PSPDFFeatureMaskAcroForms = 1 << 5

    Swift

    static var maskAcroForms: PSPDFFeatureMask { get }
  • Use the indexed full-text-search. (PSPDFLibrary)

    Declaration

    Objective-C

    PSPDFFeatureMaskIndexedFTS = 1 << 6

    Swift

    static var maskIndexedFTS: PSPDFFeatureMask { get }
  • Digitally Sign PDF Forms.

    Declaration

    Objective-C

    PSPDFFeatureMaskDigitalSignatures = 1 << 7

    Swift

    static var maskDigitalSignatures: PSPDFFeatureMask { get }
  • Requires PDF files to be signed.

    Declaration

    Objective-C

    PSPDFFeatureRequireSignedSource = 1 << 8

    Swift

    static var requireSignedSource: PSPDFFeatureMask { get }
  • Enables advanced document editing.

    Declaration

    Objective-C

    PSPDFFeatureMaskDocumentEditing = 1 << 9

    Swift

    static var maskDocumentEditing: PSPDFFeatureMask { get }
  • Enables the UI.

    Declaration

    Objective-C

    PSPDFFeatureMaskUI = 1 << 10

    Swift

    static var maskUI: PSPDFFeatureMask { get }
  • Enables the UI.

    Declaration

    Objective-C

    PSPDFFeatureMaskAll = (2147483647 * 2U + 1U)

    Swift

    static var maskAll: PSPDFFeatureMask { get }