PDFAnnotation
An annotation in a PDF document.
Declaration
class PDFAnnotationMentioned in
Overview
In addition to its primary textual content, a PDF file can contain annotations that represent links, form elements, highlighting circles, textual notes, and so on. Each annotation has a specific location on a page and may offer interactivity with the user.
Topics
Creating an Annotation
Accessing Information About an Annotation
Managing Annotation Drawing and Output
Modifying Annotation Attributes
annotationKeyValuesvalue(forAnnotationKey:)setValue(_:forAnnotationKey:)setBoolean(_:forAnnotationKey:)setRect(_:forAnnotationKey:)removeValue(forAnnotationKey:)PDFAnnotationKey
Managing Annotation Display Characteristics
Configuring Shape Annotations
Configuring Line Annotations
Configuring Link Annotations
Configuring Text Annotations
Configuring Pop-Up Annotations
Configuring Text Markup Annotations
Configuring Widget Annotations
widgetFieldTypewidgetStringValuewidgetDefaultStringValuefieldNamebackgroundColorisReadOnlyPDFWidgetControlTypePDFAppearanceCharacteristics
Configuring Text Widget Annotations
Configuring Button Widget Annotations
widgetControlTypebuttonWidgetStatePDFWidgetCellStatebuttonWidgetStateStringcaptionallowsToggleToOffradiosInUnison