C#.NET - Working with Images



Reading Text from Image File

// Refer Microsoft Office Document Imaging 11.0 Type Library (MODI) dll
MODI.Document ModiDoc = new MODI.Document();
ModiDoc.Create(strImageFileName);
modiDoc.OCR(MODI.MiLANGUAGES.miLANG_ENGLISH, false, false);
MODI.Image imge = (MODI.Image)Doc.Images[0];
MessageBox.Show(imge.Layout.Text);	

Share |

 Cant find the page you are looking for?
 Help us to improve by adding the content that you are looking for.
 Leave a feedback
 We look forward to hear your comments and feedback.