For the complete documentation index, see llms.txt. This page is also available as Markdown.

Convert multiple file types 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);
// Start with a PDFDoc (the conversion destination)
val doc = PDFDoc()

// perform the conversion with no optional parameters
Convert.toPdf(doc, filename)

Last updated

Was this helpful?