setRect(_:forAnnotationKey:)
Sets a rectangle value in the annotation’s dictionary.
Declaration
func setRect(_ value: CGRect, forAnnotationKey key: PDFAnnotationKey) -> Boolfunc setRect(_ value: NSRect, forAnnotationKey key: PDFAnnotationKey) -> BoolParameters
- value:
The rectangle value to set in the annotation’s dictionary.
- key:
A Pdfannotationkey or appropriate string from the Adobe PDF Specification.