DocumentSaveOptions

Configures options for saving a document. Use those when saving a document via save or related save methods.

Constructors

Link copied to clipboard
constructor(@Nullable password: String, @Nullable permissions: EnumSet<DocumentPermissions>, incremental: Boolean, @Nullable pdfVersion: PdfVersion)
Advanced options for saving a processed document.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Indicates whether the saving is set to be incremental or not.
Link copied to clipboard
open fun setApplyRedactions(applyRedactions: Boolean)
Sets whether saving will apply redactions or not.
Link copied to clipboard
open fun setIncremental(incremental: Boolean)
Sets whether the saving will be incremental or not.
Link copied to clipboard
open fun setRewriteAndOptimizeFileSize(rewriteAndOptimizeFileSize: Boolean)
Sets whether when saving unnecessary data should be removed from the document causing smaller file sizes.
Link copied to clipboard
Indicates whether com.pspdfkit.annotations.RedactionAnnotations are applied as part of the save process.
Link copied to clipboard
Indicates whether when saving unnecessary data should be removed from the document causing smaller file sizes.