Skip to main content
Version: Version 5

Interface: SaveOptions

Options used for saving Pdf.Documents.

Properties

annotationFilter()?

optional annotationFilter: (annotation) => boolean

A callback to be called for each annotation in the document when saving. The result of the callback determines whether the annotation is included in the output. Pass null to save all annotations.

Parameters

annotation: Annotation

Returns

boolean

Default Value

undefined


fileType

fileType: "Pdf" | "Fdf"

Choose whether the output file should be a PDF or an FDF document.

Default Value

'Pdf'


optionalContentFilter()?

optional optionalContentFilter: () => boolean

Returns

boolean

Default Value

undefined