1
Vote

PDFDoc

description

i try to use this code
     PDFDoc doc = PDFDoc.Open("original_pdf");
    doc.Ocr(Utils.OcrMode.Tesseract, "eng", WriteTextMode.Word, null);
what i want to do is to make searchable pdf .. and what i see from the code that it open file then it perform ocr to it ok , so where did it save the output pdf or how ?

comments

JAT wrote Jun 5, 2015 at 10:17 AM

you should save the doc either by using doc.Save() or doc.Save("new filename.pdf",["password"]);