Instance Method

write(to:withOptions:)

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

Declaration

func write(to url: URL, withOptions options: [PDFDocumentWriteOption : Any]? = nil) -> 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) -> Bool

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

Data Representations

Operations to represent PDF documents as data objects.