Skip navigation links

Package com.moneythumb.server

PDF Convert Server conversion methods

See: Description

Package com.moneythumb.server Description

PDF Convert Server conversion methods

The main class that runs conversion is PDFConvertServer

Typical Usage:

The typical flow is to use the OptionsPDF class to set options, run the conversion with PDFConvertServer and then read results with ConverterResults.

For example:

 
 product = "pdfinsights";  // set the licensed product name
 
 OptionsPDF options = new OptionsPDF();
 options.setDoOCR(true);    // set option to always run OCR
 pdf_file = new File("folder/filename.pdf");
 String license = "OAYX4IKR1$G$VIXW9DDRmB2KQESaF1bCH8DhVDUT6V92aHEEQbNEUBaI9SXRT779K4hCCGWDVM2LrhER9MXDSVGDP8VY$ZN14" // sample license code
 
 ConverterResults results = PDFConvertServer.convert(product, license, pdf_file, options);
 
 System.out.println("Number of transaction created is " + results.getNumTransactions());
 
 
See Also:
com.moneythumb.convert.util
Skip navigation links