Skip to content
DemoFAQ

PDF Generation Template Editor

Open-source visual PDF generation engine with customizable templates and developer-friendly APIs.

View on GitHub

Convert PDF to OFD ​

Overview ​

ComPDF Conversion SDK supports converting PDF documents to OFD documents. OFD output always contains images, keeps the page background, and outputs a transparent text layer; setting options such as transparentText or containPageBackgroundImage does not change this.

Sample ​

kotlin
val ofdOptions = OfdOptions()
val error = ComPDFKitConverter.startPDFToOfd("ofd.pdf", "", "output.ofd", ofdOptions)