Reference :
========
.Net -> COM -> Interop.MODI.dll
Code :
=====
MODI.Document doc = new MODI.Document();
doc.Create(filePath);
doc.OCR(MODI.MiLANGUAGES.miLANG_ENGLISH, false, false);
string result = ((MODI.Image)doc.Images[0]).Layout.Text;
========
.Net -> COM -> Interop.MODI.dll
Code :
=====
MODI.Document doc = new MODI.Document();
doc.Create(filePath);
doc.OCR(MODI.MiLANGUAGES.miLANG_ENGLISH, false, false);
string result = ((MODI.Image)doc.Images[0]).Layout.Text;
No comments:
Post a Comment