MODI.Document tifDoc = new Document(); tifDoc.Create(Server.MapPath("~/Upload/") + fname.Split('.')[0] + ".tif"); tifDoc.OCR(MiLANGUAGES.miLANG_SYSDEFAULT, false, false); tifDoc.Save(); MODI.Image tifImg = (MODI.Image)tifDoc.Images[0]; content += tifImg.Layout.Text; tifDoc.Close(false); tifDoc = null; tifImg = null; GC.Collect(); GC.WaitForPendingFinalizers();
tifDoc.dispose();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)