Instance Property

shouldDisplay

Returns a Boolean value indicating whether the annotation should be displayed.

Declaration

var shouldDisplay: Bool { get set }

Return Value

true if the annotation should be displayed; otherwise false.

Discussion

PDFPage respects this flag when drawing.

See Also

Managing Annotation Drawing and Output

func draw(with: PDFDisplayBox)

Draws the annotation on its associated page.

Deprecated
var shouldPrint: Bool

Returns a Boolean value indicating whether the annotation should appear when the document is printed.