DocumentSaveOptions
constructor( @Nullable password: String, @Nullable permissions: EnumSet<DocumentPermissions>, incremental: Boolean, @Nullable pdfVersion: PdfVersion)
Advanced options for saving a processed document.
Parameters
password
Password in the output PDF document. Documents with password set are encrypted. null
for no password.
permissions
Permission flags on output document, a set of flags from .
incremental
If true
, PSPDFKit will attempt to only append incremental changes to the document instead of rewriting it. May not be possible in all cases.
pdfVersion
Version of PDF to generate. If null
, defaults to the newest one.