Instance Property

displaysAnnotations

Returns a Boolean value indicating whether annotations are displayed for the page.

Declaration

var displaysAnnotations: Bool { get set }

Discussion

If true, the page will draw annotations when a drawing method is called.

See Also

Working with Annotations

var annotations: [PDFAnnotation]

Returns an array containing the page’s annotations.

func addAnnotation(PDFAnnotation)

Adds the specified annotation object to the page.

func removeAnnotation(PDFAnnotation)

Removes the specified annotation from the page.

func annotation(at: CGPoint) -> PDFAnnotation?

Returns the annotation, if there is one, at the specified point.