PSPDFDataSinkOptions

Objective-C

enum PSPDFDataSinkOptions {}

Swift

struct DataSinkOptions : OptionSet

Specifies the type of PSPDFDataSink you’re requesting.

  • No option specified, the returned PSPDFDataSink is completely empty and writing starts at the beginning.

    Declaration

    Objective-C

    PSPDFDataSinkOptionNone = 0
  • Append mode. The data provider’s data will be used as a starting point and writing starts at the end.

    Declaration

    Objective-C

    PSPDFDataSinkOptionAppend = 0x01

    Swift

    static var append: DataSinkOptions { get }