Instance Method

write(to:)

Writes the document to a location specified by the passed-in URL.

Declaration

func write(to url: URL) -> Bool

See Also

Writing Out the PDF Data

func write(toFile: String) -> Bool

Writes the document to a file at the specified path.

func write(toFile: String, withOptions: [PDFDocumentWriteOption : Any]?) -> Bool

Writes the document to a file at the specified path with the specified options.

func write(to: URL, withOptions: [PDFDocumentWriteOption : Any]?) -> Bool

Writes the document to the specified URL with the specified options.

Data Representations

Operations to represent PDF documents as data objects.