<!--
{
  "availability" : [
    "macOS: 10.9.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSPDFInfo",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSPDFInfo"
  },
  "title" : "NSPDFInfo"
}
-->

# NSPDFInfo

An object that stores information associated with the creation of a PDF file, such as its URL, tag names, page orientation, and paper size.

```
class NSPDFInfo
```

## Overview

Typically, a PDF panel—that is, a panel created by an [`NSPDFPanel`](/documentation/AppKit/NSPDFPanel) object—displays the information supplied by an [`NSPDFInfo`](/documentation/AppKit/NSPDFInfo) object when the user wants to export content as a PDF file. A PDF panel can also update a PDF info object with information it receives from the user.

## Topics

### Specifying PDF Information

[`url`](/documentation/AppKit/NSPDFInfo/url)

The URL identifying the location at which the PDF file will be created.

[`isFileExtensionHidden`](/documentation/AppKit/NSPDFInfo/isFileExtensionHidden)

A Boolean value that indicates whether the file extension should appear after the filename.

[`tagNames`](/documentation/AppKit/NSPDFInfo/tagNames)

An array of tag names that should be applied to the PDF file after it’s created.

[`orientation`](/documentation/AppKit/NSPDFInfo/orientation)

The paper orientation to use when exporting content as a PDF file.

[`paperSize`](/documentation/AppKit/NSPDFInfo/paperSize)

The paper size to use when exporting content as a PDF file.

[`attributes`](/documentation/AppKit/NSPDFInfo/attributes)

A dictionary of additional attributes that describe how to export content as a PDF file.



---

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)