Class: ConversionOptions

PDFNet.Convert. ConversionOptions


new ConversionOptions( [json])

An object containing options for wordToPdf functions
Parameters:
Name Type Argument Description
json string <optional>
options in JSON format.

Methods


setEnableExternalMediaDownloads(value)

Sets the value for EnableExternalMediaDownloads in the options object Determines if downloading external resources is allowed during conversion.
Parameters:
Name Type Description
value boolean the new value for EnableExternalMediaDownloads
Returns:
this object, for call chaining
Type
PDFNet.Convert.ConversionOptions

setFileExtension(value)

Sets the value for FileExtension in the options object Override file extension used to determine conversion type.
Parameters:
Name Type Description
value string the new value for FileExtension
Returns:
this object, for call chaining
Type
PDFNet.Convert.ConversionOptions