PSPDFAnnotationType

enum PSPDFAnnotationType {}

PDF Annotation types.

  • No annotation type.

    Declaration

    Objective-C

    PSPDFAnnotationTypeNone = 0
  • Any annotation whose type couldn’t be recognized.

    Declaration

    Objective-C

    PSPDFAnnotationTypeUndefined = 1 << 0

    Swift

    static var undefined: PSPDFAnnotationType { get }
  • Links and PSPDFKit multimedia extensions.

    Declaration

    Objective-C

    PSPDFAnnotationTypeLink = 1 << 1

    Swift

    static var link: PSPDFAnnotationType { get }
  • Highlight annotation.

    Declaration

    Objective-C

    PSPDFAnnotationTypeHighlight = 1 << 2

    Swift

    static var highlight: PSPDFAnnotationType { get }
  • Strikeout annotation.

    Declaration

    Objective-C

    PSPDFAnnotationTypeStrikeOut = 1 << 17

    Swift

    static var strikeOut: PSPDFAnnotationType { get }
  • Underline annotation.

    Declaration

    Objective-C

    PSPDFAnnotationTypeUnderline = 1 << 18

    Swift

    static var underline: PSPDFAnnotationType { get }
  • Squiggly annotation.

    Declaration

    Objective-C

    PSPDFAnnotationTypeSquiggly = 1 << 19

    Swift

    static var squiggly: PSPDFAnnotationType { get }
  • Free text annotation. Includes callout annotation.

    Declaration

    Objective-C

    PSPDFAnnotationTypeFreeText = 1 << 3

    Swift

    static var freeText: PSPDFAnnotationType { get }
  • Ink annotation. Drawing. Includes ink signatures.

    Declaration

    Objective-C

    PSPDFAnnotationTypeInk = 1 << 4

    Swift

    static var ink: PSPDFAnnotationType { get }
  • Square annotation.

    Declaration

    Objective-C

    PSPDFAnnotationTypeSquare = 1 << 5

    Swift

    static var square: PSPDFAnnotationType { get }
  • Circle annotation.

    Declaration

    Objective-C

    PSPDFAnnotationTypeCircle = 1 << 20

    Swift

    static var circle: PSPDFAnnotationType { get }
  • Line annotation.

    Declaration

    Objective-C

    PSPDFAnnotationTypeLine = 1 << 6

    Swift

    static var line: PSPDFAnnotationType { get }
  • Note annotation.

    Declaration

    Objective-C

    PSPDFAnnotationTypeNote = 1 << 7

    Swift

    static var note: PSPDFAnnotationType { get }
  • Stamp annotation. Can be an image as well.

    Declaration

    Objective-C

    PSPDFAnnotationTypeStamp = 1 << 8

    Swift

    static var stamp: PSPDFAnnotationType { get }
  • Caret annotation.

    Declaration

    Objective-C

    PSPDFAnnotationTypeCaret = 1 << 9

    Swift

    static var caret: PSPDFAnnotationType { get }
  • Embedded PDF video.

    Declaration

    Objective-C

    PSPDFAnnotationTypeRichMedia = 1 << 10

    Swift

    static var richMedia: PSPDFAnnotationType { get }
  • Embedded PDF video.

    Declaration

    Objective-C

    PSPDFAnnotationTypeScreen = 1 << 11

    Swift

    static var screen: PSPDFAnnotationType { get }
  • Widget annotation. Includes PDF Forms.

    Declaration

    Objective-C

    PSPDFAnnotationTypeWidget = 1 << 12

    Swift

    static var widget: PSPDFAnnotationType { get }
  • File attachment.

    Declaration

    Objective-C

    PSPDFAnnotationTypeFile = 1 << 13

    Swift

    static var file: PSPDFAnnotationType { get }
  • Sound annotation.

    Declaration

    Objective-C

    PSPDFAnnotationTypeSound = 1 << 14

    Swift

    static var sound: PSPDFAnnotationType { get }
  • Polygon annotation.

    Declaration

    Objective-C

    PSPDFAnnotationTypePolygon = 1 << 15

    Swift

    static var polygon: PSPDFAnnotationType { get }
  • Polyline annotation.

    Declaration

    Objective-C

    PSPDFAnnotationTypePolyLine = 1 << 16

    Swift

    static var polyLine: PSPDFAnnotationType { get }
  • Popup annotation. Not yet supported.

    Declaration

    Objective-C

    PSPDFAnnotationTypePopup = 1 << 21

    Swift

    static var popup: PSPDFAnnotationType { get }
  • Watermark annotation. Not yet supported.

    Declaration

    Objective-C

    PSPDFAnnotationTypeWatermark = 1 << 22

    Swift

    static var watermark: PSPDFAnnotationType { get }
  • TrapNet annotation. Not yet supported.

    Declaration

    Objective-C

    PSPDFAnnotationTypeTrapNet = 1 << 23

    Swift

    static var trapNet: PSPDFAnnotationType { get }
  • 3D annotation. Not yet supported.

    Declaration

    Objective-C

    PSPDFAnnotationTypeThreeDimensional = 1 << 24

    Swift

    static var threeDimensional: PSPDFAnnotationType { get }
  • Redact annotation. Not yet supported.

    Declaration

    Objective-C

    PSPDFAnnotationTypeRedact = 1 << 25

    Swift

    static var redact: PSPDFAnnotationType { get }
  • All annotation types.

    Declaration

    Objective-C

    PSPDFAnnotationTypeAll = (9223372036854775807L * 2UL + 1UL)

    Swift

    static var all: PSPDFAnnotationType { get }