缺少函数 RenderPageBitmapHighQuality
This article was translated from English: Does it need improvement?
TranslatedView the article in English
在最新更新的 IronOCR 2025.4.4 版本中,我们在转换为位图时为算法添加了一个新的内部方法。 但是,从旧版本更新的用户可能会遇到以下异常情况。
System.InvalidOperationException: 'No function was found with the name RenderPageBitmapHighQuality with error code (127).'异常信息表明该函数不在内部 API 范围内。 主要问题在于IronOcrInterop.dll没有更新到最新版本,与IronOCr 2025.4.4中使用的版本不匹配。 由于版本不匹配,该库不知道内部 API 已更新,并且找不到新的RenderPageBitmapHighQuality函数,因为它仍然引用了过时的IronOcrInterop.dll.
解决方案
一个快速的解决方法是删除现有的 bin 文件夹,然后重新构建项目。 重新构建项目将生成一个与更新版本匹配的全新更新的IronOcrInterop.dll ,从而解决此问题。 之后,再次尝试运行你的项目,错误应该就不会再出现了。
准备开始了吗?
Nuget 下载 5,246,844 | 版本: 2025.12 刚刚发布






