PSPDFDocumentSaveStrategy

enum PSPDFDocumentSaveStrategy {}

Document saving strategy.

  • Fast save operation, appends new data. File grows with every save.

    Declaration

    Objective-C

    PSPDFDocumentSaveStrategyAppend

    Swift

    case append = 0
  • Slower operation, rewrites file, removes unreferenced objects.

    Declaration

    Objective-C

    PSPDFDocumentSaveStrategyRewrite

    Swift

    case rewrite = 1