The paper size to use when exporting content as a PDF file.
SDK
- macOS 10.9+
Framework
- App
Kit
Declaration
var paperSize: NSSize { get set }
The paper size to use when exporting content as a PDF file.
SDK
Framework
var paperSize: NSSize { get set }
var url: URL?
The URL identifying the location at which the PDF file will be created.
var is File Extension Hidden: Bool
A Boolean value that indicates whether the file extension should appear after the filename.
var tag Names: [String]
An array of tag names that should be applied to the PDF file after it’s created.
var orientation: NSPrint Info .Paper Orientation
The paper orientation to use when exporting content as a PDF file.
var attributes: NSMutable Dictionary
A dictionary of additional attributes that describe how to export content as a PDF file. (read-only)