writePDF(inside:to:)
Writes PDF data that draws the region of the view within a specified rectangle onto a pasteboard.
Declaration
func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard)Parameters
- rect:
A rectangle defining the region.
- pasteboard:
An object representing a pasteboard.