摘要:
c#调用office2003的文字识别功能bool CallOcx(string fileName, out string con) { con = ""; try { MODI.Document doc = new MODI.Document(); doc.Create(fileName); doc.OCR(MODI.MiLANGUAGES.miLANG_CHINESE_SIMPLIFIED, false, false); MODI.Images images = doc.Images; for (int i = 0; i < images.Count; i++) 阅读全文