PSPDFAnnotationType
Objective-C
enum PSPDFAnnotationType {}
Swift
struct Kind : OptionSet
PDF Annotation types.
These options can be combined for fetching several types of annotations from a document or annotation provider. However, a single annotation must have a single type.
-
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: Annotation.Kind { get }
-
Links and PSPDFKit multimedia extensions.
Declaration
Objective-C
PSPDFAnnotationTypeLink = 1 << 1
Swift
static var link: Annotation.Kind { get }
-
Highlight annotation.
Declaration
Objective-C
PSPDFAnnotationTypeHighlight = 1 << 2
Swift
static var highlight: Annotation.Kind { get }
-
Strikeout annotation.
Declaration
Objective-C
PSPDFAnnotationTypeStrikeOut = 1 << 17
Swift
static var strikeOut: Annotation.Kind { get }
-
Underline annotation.
Declaration
Objective-C
PSPDFAnnotationTypeUnderline = 1 << 18
Swift
static var underline: Annotation.Kind { get }
-
Squiggly annotation.
Declaration
Objective-C
PSPDFAnnotationTypeSquiggly = 1 << 19
Swift
static var squiggly: Annotation.Kind { get }
-
Free text annotation. Includes callout annotation.
Declaration
Objective-C
PSPDFAnnotationTypeFreeText = 1 << 3
Swift
static var freeText: Annotation.Kind { get }
-
Ink annotation. Drawing. Includes ink signatures.
Declaration
Objective-C
PSPDFAnnotationTypeInk = 1 << 4
Swift
static var ink: Annotation.Kind { get }
-
Square annotation.
Declaration
Objective-C
PSPDFAnnotationTypeSquare = 1 << 5
Swift
static var square: Annotation.Kind { get }
-
Circle annotation.
Declaration
Objective-C
PSPDFAnnotationTypeCircle = 1 << 20
Swift
static var circle: Annotation.Kind { get }
-
Line annotation.
Declaration
Objective-C
PSPDFAnnotationTypeLine = 1 << 6
Swift
static var line: Annotation.Kind { get }
-
Note annotation.
Declaration
Objective-C
PSPDFAnnotationTypeNote = 1 << 7
Swift
static var note: Annotation.Kind { get }
-
Stamp annotation. Can be an image as well.
Declaration
Objective-C
PSPDFAnnotationTypeStamp = 1 << 8
Swift
static var stamp: Annotation.Kind { get }
-
Caret annotation.
Declaration
Objective-C
PSPDFAnnotationTypeCaret = 1 << 9
Swift
static var caret: Annotation.Kind { get }
-
Embedded PDF video.
Declaration
Objective-C
PSPDFAnnotationTypeRichMedia = 1 << 10
Swift
static var richMedia: Annotation.Kind { get }
-
Embedded PDF video.
Declaration
Objective-C
PSPDFAnnotationTypeScreen = 1 << 11
Swift
static var screen: Annotation.Kind { get }
-
Widget annotation. Includes PDF Forms.
Declaration
Objective-C
PSPDFAnnotationTypeWidget = 1 << 12
Swift
static var widget: Annotation.Kind { get }
-
File attachment.
Declaration
Objective-C
PSPDFAnnotationTypeFile = 1 << 13
Swift
static var file: Annotation.Kind { get }
-
Sound annotation.
Declaration
Objective-C
PSPDFAnnotationTypeSound = 1 << 14
Swift
static var sound: Annotation.Kind { get }
-
Polygon annotation.
Declaration
Objective-C
PSPDFAnnotationTypePolygon = 1 << 15
Swift
static var polygon: Annotation.Kind { get }
-
Poly-line annotation.
Declaration
Objective-C
PSPDFAnnotationTypePolyLine = 1 << 16
Swift
static var polyLine: Annotation.Kind { get }
-
Redaction annotation.
Declaration
Objective-C
PSPDFAnnotationTypeRedaction = 1 << 25
Swift
static var redaction: Annotation.Kind { get }
-
Popup annotation. Not yet supported.
Declaration
Objective-C
PSPDFAnnotationTypePopup = 1 << 21
Swift
static var popup: Annotation.Kind { get }
-
Watermark annotation. Not yet supported.
Declaration
Objective-C
PSPDFAnnotationTypeWatermark = 1 << 22
Swift
static var watermark: Annotation.Kind { get }
-
TrapNet annotation. Not yet supported.
Declaration
Objective-C
PSPDFAnnotationTypeTrapNet = 1 << 23
Swift
static var trapNet: Annotation.Kind { get }
-
3D annotation. Not yet supported.
Declaration
Objective-C
PSPDFAnnotationTypeThreeDimensional = 1 << 24
Swift
static var threeDimensional: Annotation.Kind { get }
-
All annotation types.
Declaration
Objective-C
PSPDFAnnotationTypeAll = (9223372036854775807L * 2UL + 1UL)
Swift
static var all: Annotation.Kind { get }