Some test text!

Loading...
Guides

Convert multiple format types to PDF

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.

API to convert multiple formats to PDF in Android

To convert different formats to PDF Documents.

See all supported formats here: Supported File Formats .
// 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

Upcoming Webinar: Live tech update & run-through: Redaction | March 31st at 11 am PT

PDFTron SDK

The Platform

NEW

© 2022 PDFTron Systems Inc. All rights reserved.

Privacy

Terms of Use