We’re happy to announce the release of GroupDocs.Parser for .NET 25.12.1, available as of December 2025. This update focuses on improving resource handling for OCR operations and adds a simple way to configure where those resources are stored.

此版本的新功能

類別 問題 說明
增強功能 PARSERNET‑2796 將 OCR 資源檔直接嵌入程式庫,無需分發外部資產。
增強功能 PARSERNET‑2797 為資源檔(包括嵌入的 OCR 檔案)新增可設定的儲存路徑。

將 OCR 資源檔嵌入程式庫 (PARSERNET‑2796)

OCR 資產現在已打包在 GroupDocs.Parser 程式集內。無需任何 API 變更——只要照舊參考此程式庫,OCR 功能即可在內部定位其資源。

設定資源檔的自訂儲存路徑 (PARSERNET‑2797)

GroupDocs.Parser 命名空間中引入了新的 Resources 類別。它公開了 StoragePath 屬性,讓您可以將解析器指向一個資料夾,以在執行時讀取已解壓的資源(例如 OCR 字典)。

使用範例

using GroupDocs.Parser;

// Set a custom storage path for resources
Resources.StoragePath = @"C:\MyApp\Resources";

using (Parser parser = new Parser(filePath))
{
    int pageIndex = 0;
    IEnumerable<PageTableArea> tables = parser.GetTables(pageIndex);
    // Process tables …
}

修復與其他增強功能

此版本 包含錯誤修復或破壞性 API 變更。重點僅在於增強 OCR 場景的資源管理。

如何取得更新

資源