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/