Instance Property


Returns the bounding box for the annotation in page space.


iOS, Mac Catalyst
var bounds: CGRect { get set }
var bounds: NSRect { get set }

Return Value

The bounding box for the annotation in page space.


Page space is a 72-dpi coordinate system with the origin at the lower-left corner of the current page.

See Also

Managing Annotation Display Characteristics

var border: PDFBorder?

Sets the border style for the annotation.

class PDFBorder

An optional border for an annotation, drawn completely within the annotation rectangle.

var color: UIColor

Sets the stroke color for the annotation.

var hasAppearanceStream: Bool

Returns a Boolean value that indicates whether the annotation has an appearance stream associated with it.