Convert PDF to OFD
Overview
ComPDF Conversion SDK supports converting PDF documents to OFD documents. Similar to searchable PDF, OFD conversion also supports OCR, page background preservation, and transparent text layers.
Sample
python
input_file_path = "***"
password = "***"
output_file_name = "***"
pdf_options = ConvertOptions()
pdf_options.enable_ocr = True
word_options.languages = [OCRLanguage.ENGLISH]
error = CPDFConversion.start_pdf_to_ofd(input_file_path, password, output_file_name, pdf_options)