Instance Property

attributes

A dictionary of additional attributes that describe how to export content as a PDF file. (read-only)

Declaration

@property(readonly) NSMutableDictionary<NSPrintInfoAttributeKey, id> *attributes;

Discussion

Although attributes is a read-only property, you can modify the mutable dictionary associated with it. Typically, this dictionary contains custom attributes or parameters that are set by a custom accessory view in the PDF panel.

See Also

MethodGroup

URL

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

fileExtensionHidden

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

tagNames

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

orientation

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

paperSize

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