<!--
{
  "availability" : [
    "macOS: 10.9.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSPDFPanel/Options-swift.struct",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@E@NSPDFPanelOptions"
  },
  "title" : "NSPDFPanel.Options"
}
-->

# NSPDFPanel.Options

Constants used to configure the contents of a PDF panel.

```
struct Options
```

## Topics

### Constants

[`showsPaperSize`](/documentation/AppKit/NSPDFPanel/Options-swift.struct/showsPaperSize)

The PDF panel shows a menu of paper sizes.

[`showsOrientation`](/documentation/AppKit/NSPDFPanel/Options-swift.struct/showsOrientation)

The PDF panel shows the current orientation of the PDF contents, such as landscape or portrait.

[`requestsParentDirectory`](/documentation/AppKit/NSPDFPanel/Options-swift.struct/requestsParentDirectory)

The PDF panel doesn’t show a name field; instead, it allows the user to identify a directory in which to save multiple PDF files. If you set this flag, you’re responsible for appending a filename and the “pdf” extension to the resulting  URL value in the [`NSPDFInfo`](/documentation/AppKit/NSPDFInfo) object before proceeding with the creation of the PDF file (or calling the `takeSettingsFromPDFInfo` method of [`NSPrintInfo`](/documentation/AppKit/NSPrintInfo)).

### Initializers

[`init(rawValue:)`](/documentation/AppKit/NSPDFPanel/Options-swift.struct/init(rawValue:))



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)