Platforms to show: All Mac Windows Linux Cross-Platform

Back to PDFDocumentMBS class.

Previous items

PDFDocumentMBS.writeWithOptions(file as folderitem, options as dictionary) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method PDFKit MBS PDFKit Plugin 19.1 ✅ Yes ❌ No ❌ No ✅ Yes All
Writes PDF to file with options.

Returns true on success and false on failure.

Some keys to use include:
CGPDFContextMBS.kCGPDFContextUserPassword
CGPDFContextMBS.kCGPDFContextTitle
CGPDFContextMBS.kCGPDFContextSubject
CGPDFContextMBS.kCGPDFContextOwnerPassword
CGPDFContextMBS.kCGPDFContextOutputIntents
CGPDFContextMBS.kCGPDFContextOutputIntent
CGPDFContextMBS.kCGPDFContextKeywords
CGPDFContextMBS.kCGPDFContextEncryptionKeyLength
CGPDFContextMBS.kCGPDFContextCreator
CGPDFContextMBS.kCGPDFContextAuthor
CGPDFContextMBS.kCGPDFContextAllowsPrinting
CGPDFContextMBS.kCGPDFContextAllowsCopying

Previous items

The items on this page are in the following plugins: MBS PDFKit Plugin.


💬 Ask a question or report a problem
The biggest plugin in space...