GroupDocs.Parser for .NET 26.3 现已发布。本次发布为阿拉伯语和韩语提供 OCR 支持,所有必需资源已打包在 DLL 中。
本次发布的新功能
| Key | Category | Summary |
|---|---|---|
| PARSERNET-2843 | 改进 | 在使用 OCR 时实现对阿拉伯语和韩语的支持 |
公共 API 更改
无。
代码示例
// Create an instance of Parser class
using (Parser parser = new Parser(documentPath))
{
OcrOptions ocrOptions = new OcrOptions()
{
Language = Language.Kor
};
TextOptions options = new TextOptions(false, true, ocrOptions);
TextReader result = parser.GetText(options);
string text = result.ReadToEnd();
Console.WriteLine(text);
}
如何获取更新
-
NuGet – 通过 NuGet 升级到最新的 GroupDocs.Parser 包:
NuGet\Install-Package GroupDocs.Parser -Version 26.3.0NuGet\Install-Package GroupDocs.Parser.NETFramework -Version 26.3.0 -
Direct Download – 从 GroupDocs 发布站点的 GroupDocs.Parser for .NET 26.3 页面下载 .NET 程序集:
https://releases.groupdocs.com/parser/net/new-releases/groupdocs.parser-for-.net-26.3-dlls-only/ https://releases.groupdocs.com/parser/net/new-releases/groupdocs.parser-for-.net--26.3/