Contents

setBoolean(_:forAnnotationKey:)

Sets a Boolean value in the annotation’s dictionary.

Declaration

func setBoolean(_ value: Bool, forAnnotationKey key: PDFAnnotationKey) -> Bool

Parameters

  • value:

    The Boolean value to set in the annotation’s dictionary.

  • key:

    A Pdfannotationkey or appropriate string from the Adobe PDF Specification.

Return Value

true if the value sets successfully; otherwise, false.

See Also

Modifying Annotation Attributes