Class: XFDFExportOptions

PDFNet.FDFDoc. XFDFExportOptions


new XFDFExportOptions()

Options for PDFNet.FDFDoc.saveAsXFDFWithOptions and PDFNet.FDFDoc.saveAsXFDFAsStringWithOptions

Methods


getWriteAnnotationAppearance()

Gets the value WriteAnnotationAppearance from the options object When the option is enabled, the appearance wil be written for the annotations with custom appearance (i.e. different from that generated by RefreshAppearance()). Note, that if WriteImagedata is enabled, appearance will not be written for the annotations that support imagedata. In order to preserve vector information, WriteImagedata needs to be disabled
Returns:
the current value for WriteAnnotationAppearance.
Type
boolean

getWriteImagedata()

Gets the value WriteImagedata from the options object If true, rasterized appearance will be written for the image-based annotations (stamps and signature fields) to xfdf
Returns:
the current value for WriteImagedata.
Type
boolean

setWriteAnnotationAppearance(value)

Sets the value for WriteAnnotationAppearance in the options object When the option is enabled, the appearance wil be written for the annotations with custom appearance (i.e. different from that generated by RefreshAppearance()). Note, that if WriteImagedata is enabled, appearance will not be written for the annotations that support imagedata. In order to preserve vector information, WriteImagedata needs to be disabled
Parameters:
Name Type Description
value boolean the new value for WriteAnnotationAppearance
Returns:
this object, for call chaining
Type
PDFNet.FDFDoc.XFDFExportOptions

setWriteImagedata(value)

Sets the value for WriteImagedata in the options object If true, rasterized appearance will be written for the image-based annotations (stamps and signature fields) to xfdf
Parameters:
Name Type Description
value boolean the new value for WriteImagedata
Returns:
this object, for call chaining
Type
PDFNet.FDFDoc.XFDFExportOptions