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
c#
string inputFilePath = "***";
string password = "***";
string outputFileName = "***";
PdfOptions ofdOptions = new OfdOptions();
ofdOptions.EnableOCR = true;
ofdOptions.Languages = new List<OCRLanguage> { OCRLanguage.e_ENGLISH };
ErrorCode error = CPDFConversion.StartPDFToOfd(inputFilePath, password, outputFileName, ofdOptions);