Converting Image-Based PDF to Text-Based PDF
<p>how to convert Image-Based PDF to Text-Based PDF. There are lot of tools available for using. But iam looking for a C# code to make an application. I heard about Tessara but i not get code for C#. it is available only c/c++. </p>

<p>I used MODI dll to convert Image to Text. The process is Converting Each page of PDF to Image(using Acrobat dll) and with that output Image(bmp/tif) we can use MODI to get text. is there any possibility available to change the MODI object to PDF?</p>

<pre><code>MODI.Document doc = new MODI.Document();
doc.Create(ImagePath);
doc.OCR(MODI.MiLANGUAGES.miLANG_ENGLISH, false, false);
doc.SaveAs("c://.../test.pdf", MODI.MiFILE_FORMAT.miFILE_FORMAT_DEFAULTVALUE, MODI.MiCOMP_LEVEL.miCOMP_LEVEL_HIGH);
//But this line creating PDF but the PDF is not opened. Due to error.
</code></pre>

<p>if u have any other way to do this please let me know.           </p>

<p>Regards,
R.Balajiprasad</p>
