PSPDFDocumentSharingAnnotationOptions

NS_OPTIONS(NSUInteger, PSPDFDocumentSharingAnnotationOptions) {
    /**
     Save annotations in the PDF.

     Embed annotations into the PDF.

     @warning When using this option for printing, no annotations may be printed. This is a result of internal limitations of the printing system on iOS.
     @see [3rd-Party Compatibility](https://pspdfkit.com/guides/ios/current/miscellaneous/3rd-party-compatibility/)
     */
    PSPDFDocumentSharingAnnotationOptionEmbed = 1 << 0,

    /// Render annotations into the PDF.
    PSPDFDocumentSharingAnnotationOptionFlatten = 1 << 1,

    /// Render annotations into the PDF. Converts notes to printable text.
    PSPDFDocumentSharingAnnotationOptionFlattenForPrint = 1 << 2,

    /// Save annotations + add summary. Not available on macOS.
    PSPDFDocumentSharingAnnotationOptionSummary = 1 << 3,

    /// Remove all annotations.
    PSPDFDocumentSharingAnnotationOptionRemove = 1 << 4
}

Undocumented

  • Save annotations in the PDF.

    Embed annotations into the PDF.

    Warning

    When using this option for printing, no annotations may be printed. This is a result of internal limitations of the printing system on iOS.

    Declaration

    Objective-C

    PSPDFDocumentSharingAnnotationOptionEmbed = 1 << 0

    Swift

    static var embed: PSPDFDocumentSharingAnnotationOptions { get }
  • Render annotations into the PDF.

    Declaration

    Objective-C

    PSPDFDocumentSharingAnnotationOptionFlatten = 1 << 1

    Swift

    static var flatten: PSPDFDocumentSharingAnnotationOptions { get }
  • Render annotations into the PDF. Converts notes to printable text.

    Declaration

    Objective-C

    PSPDFDocumentSharingAnnotationOptionFlattenForPrint = 1 << 2

    Swift

    static var flattenForPrint: PSPDFDocumentSharingAnnotationOptions { get }
  • Save annotations + add summary. Not available on macOS.

    Declaration

    Objective-C

    PSPDFDocumentSharingAnnotationOptionSummary = 1 << 3

    Swift

    static var summary: PSPDFDocumentSharingAnnotationOptions { get }
  • Remove all annotations.

    Declaration

    Objective-C

    PSPDFDocumentSharingAnnotationOptionRemove = 1 << 4

    Swift

    static var remove: PSPDFDocumentSharingAnnotationOptions { get }