Class: DocumentConversion

PDFNet. DocumentConversion


new DocumentConversion()

The class DocumentConversion. Encapsulates the conversion of a single document from one format to another. DocumentConversion instances are created through methods belonging to the Convert class. See Convert.WordToPDFConversion for an example.

Members


<static> Result

Properties:
Name Type Description
e_Success number
e_Incomplete number
e_Failure number

Methods


getDoc()

Returns:
A promise that resolves to an object of type: "PDFNet.PDFDoc"
Type
Promise.<PDFNet.PDFDoc>

getNumConvertedPages()

Returns:
A promise that resolves to an object of type: "number"
Type
Promise.<number>

isCancelled()

Returns:
A promise that resolves to an object of type: "boolean"
Type
Promise.<boolean>