Sets the font used to display the text in the widget annotation.
SDK
- macOS 10.5–10.12Deprecated
Framework
- PDFKit
Declaration
func setFont(_ font: NSFont!)
Parameters
font
The font to be used for the text in the widget annotation.
Sets the font used to display the text in the widget annotation.
SDK
Framework
func setFont(_ font: NSFont!)
font
The font to be used for the text in the widget annotation.
func font Color() -> NSColor!
Returns the font color used to display the text in the widget annotation.
func set Font Color(NSColor!)
Sets the font color used to display the text in the widget annotation.