Instance Property

shouldPrint

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

Declaration

var shouldPrint: Bool { get set }

Return Value

true if the annotation should appear when the PDF document is printed; otherwise false.

Discussion

PDFPage respects this flag when printing.

See Also

Managing Annotation Drawing and Output

func draw(with: PDFDisplayBox)

Draws the annotation on its associated page.

Deprecated
var shouldDisplay: Bool

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