PSPDFFeatureMask

Objective-C

enum PSPDFFeatureMask {}

Swift

struct Features : OptionSet

Declares all possible feature flags in a license.

  • Undocumented

    Declaration

    Objective-C

    PSPDFFeatureMaskNone = 0
  • View PDFs without watermark. Automatically enabled by every valid license key.

    Declaration

    Objective-C

    PSPDFFeatureMaskPDFViewer = 1 << 0

    Swift

    static var pdfViewer: Features { get }
  • Text Selection. Was included in PSPDFKit Basic.

    Declaration

    Objective-C

    PSPDFFeatureMaskTextSelection = 1 << 1

    Swift

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

    Declaration

    Objective-C

    PSPDFFeatureMaskStrongEncryption = 1 << 2

    Swift

    static var strongEncryption: Features { get }
  • Use an instance of Processor. Does not include the Processor class methods for conversion.

    Declaration

    Objective-C

    PSPDFFeatureMaskPDFCreation = 1 << 3

    Swift

    static var pdfCreation: Features { get }
  • Edit/Create annotations.

    Declaration

    Objective-C

    PSPDFFeatureMaskAnnotationEditing = 1 << 4

    Swift

    static var annotationEditing: Features { get }
  • PDF Forms display/editing.

    Declaration

    Objective-C

    PSPDFFeatureMaskAcroForms = 1 << 5

    Swift

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

    Declaration

    Objective-C

    PSPDFFeatureMaskIndexedFTS = 1 << 6

    Swift

    static var indexedFTS: Features { get }
  • Digitally Sign PDF Forms.

    Declaration

    Objective-C

    PSPDFFeatureMaskDigitalSignatures = 1 << 7

    Swift

    static var digitalSignatures: Features { get }
  • Requires PDF files to be signed.

    Declaration

    Objective-C

    PSPDFFeatureMaskRequireSignedSource = 1 << 8

    Swift

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

    Declaration

    Objective-C

    PSPDFFeatureMaskDocumentEditing = 1 << 9

    Swift

    static var documentEditing: Features { get }
  • Enables the UI.

    Declaration

    Objective-C

    PSPDFFeatureMaskUI = 1 << 10

    Swift

    static var UI: Features { get }
  • Shows annotation replies in a comment thread.

    Declaration

    Objective-C

    PSPDFFeatureMaskAnnotationReplies = 1 << 11

    Swift

    static var annotationReplies: Features { get }
  • Enables the non-destructive editing of images. See PSPDFImageDocument for more information.

    Declaration

    Objective-C

    PSPDFFeatureMaskImageDocument = 1 << 12

    Swift

    static var imageDocument: Features { get }
  • Enables redacting page content.

    Declaration

    Objective-C

    PSPDFFeatureMaskRedaction = 1 << 13

    Swift

    static var redaction: Features { get }
  • Enables comparing, merging and recoloring document pages. See PSPDFProcessorConfiguration.

    Declaration

    Objective-C

    PSPDFFeatureMaskComparison = 1 << 14

    Swift

    static var comparison: Features { get }
  • Enables HTML to PDF conversion and attributed string to PDF conversion using the Processor class methods.

    Declaration

    Objective-C

    PSPDFFeatureMaskWebKitHtmlConversion = 1 << 16

    Swift

    static var webKitHtmlConversion: Features { get }
  • Enables Reader View.

    Declaration

    Objective-C

    PSPDFFeatureMaskReaderView = 1 << 17

    Swift

    static var readerView: Features { get }
  • Enables performing OCR on documents.

    Declaration

    Objective-C

    PSPDFFeatureMaskOCR = 1 << 18

    Swift

    static var OCR: Features { get }
  • Enables performing OCR on documents.

    Declaration

    Objective-C

    PSPDFFeatureMaskAll = (2147483647 * 2U + 1U)

    Swift

    static var all: Features { get }