Class

NSPDFPanel

An NSPDFPanel object is used to implement a Save or Export as PDF panel that’s consistent with the macOS user interface. A PDF panel has a variety of built-in customization controls, such as page orientation, paper size, and tags. It also supports the use of a custom accessory view controller that allows an app to specify how a PDF file should be created.

Nested Types

NSPDFPanelOptions

Constants used to configure the contents of a PDF panel.

Symbols

Managing the Contents of a PDF Panel

var accessoryController: NSViewController?

A view controller for the accessory view that the panel can present.

var options: NSPDFPanelOptions

A set of configuration options that determine the accessory views the PDF panel should display.

var defaultFileName: String

The initial value for the user-editable filename shown in the name field of the PDF panel.

Displaying a PDF Panel

Constants

NSPDFPanelOptions

Constants used to configure the contents of a PDF panel.

Relationships

Inherits From

Conforms To