Guides
Convert PDF to searchable PDF
Overview
To make a searchable PDF by adding invisible text to an image based PDF such as a scanned document using OCR.
Sample
Full code sample which shows how to use the ComPDFKit OCR module on scanned documents in multiple languages.
c#
string inputFilePath = "***";
string password = "***";
string outputFileName = "***";
PdfOptions pdfOptions = new PdfOptions();
pdfOptions.EnableOCR = true;
ErrorCode error = CPDFConversion.StartPDFToSearchablePDF(inputFilePath, password, outputFileName, pdfOptions);