Some test text!
There are two options to convert a supported file format to a PDF document. First is using the PDFViewCtrl.openNonPDFUri method, which does the conversion asynchronously in the viewer and provides callbacks for handling conversion progress. The second uses the Convert API, which simply converts the document to PDF in a blocking manner.
To convert different formats to PDF Documents.
// Start with a PDFDoc (the conversion destination) PDFDoc doc = new PDFDoc(); // perform the conversion with no optional parameters Convert.toPdf(doc, filename);
Get the answers you need: Support
Get unlimited trial usage of PDFTron SDK to bring accurate, reliable, and fast document processing capabilities to any application or workflow.
Select a platform to get started with your free trial.
Unlimited usage. No email address required.