Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我一直在使用 Office 2007 的 MODI 组件从 TIFF 文档中提取文本。直到今天我执行我的代码时它工作正常,它给出了“OCR:错误语言”的错误
我没有对tif文档中的代码进行任何更改。我正在扫描英文文档。
mdoc.OCR(MODI.MiLANGUAGES.miLANG_ENGLISH,真,真)
我正在使用 VB.NET
谢谢
当没有为 office 安装指定的语言包时,会发生这种情况。确保在运行此代码的计算机上安装了适用于 Office 的英语语言包。