Class

NSPDFPanel

A Save or Export as PDF panel that’s consistent with the macOS user interface.

Declaration

@interface NSPDFPanel : NSObject

Overview

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.

Topics

Creating a PDF Panel

+ panel

Returns a new NSPDFPanel object.

Managing the Contents of a PDF Panel

accessoryController

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

options

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

defaultFileName

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

See Also

Print and PDF Panels

NSPrintPanelAccessorizing

A set of methods that a print panel object can use to get information from a printing accessory controller.