Creates and returns a new
NSPrint object ready to control the copying of PDF graphics from the specified view using the specified print settings.
- macOS 10.0+
The view containing the data to be turned into PDF data.
The portion of the view (specified in points in the view's coordinate space) to be rendered as PDF data.
NSMutableobject. After the job is run, this object contains the PDF data.
The print settings to use when generating the PDF data.
NSPrint object. You must run the operation to generate the PDF data.
This method raises an
NSPrint if there is already a print operation in progress; otherwise the returned object is made the current print operation for this thread.