PdfRewriteOptions.sanitized constructor
const
PdfRewriteOptions.sanitized()
Sanitizing profile: keeps only pages, content and annotations.
Drops /Info, XMP, attachments, bookmarks, form fields, structural
tagging and every trace of the signatures, including the visual stamp.
It is the starting point for producing a file with no inherited metadata.
Implementation
const PdfRewriteOptions.sanitized()
: keepDocumentInfo = false,
keepXmpMetadata = false,
keepAttachments = false,
keepLayers = true,
keepBookmarks = false,
keepPageLabels = true,
keepAnnotations = true,
keepFormFields = false,
keepStructureTree = false,
deduplicateResources = true,
rejectSignedSources = false,
keepInvalidSignatures = false,
removeSignatureAppearance = true;