我們很高興宣佈 GroupDocs.Parser for .NET 26.4 已於 2026年4月 發佈。此更新引入了從 HTML 檔案中提取表格的功能。
此版本的新功能
| 鍵 | 類別 | 摘要 |
|---|---|---|
| PARSERNET-2858 | 改進 | 實作從 HTML 提取表格 |
公共 API 變更
無。
程式碼範例
// Create an instance of the Parser class
using (Parser parser = new Parser(documentPath))
{
// Extract all tables from the document
IEnumerable<PageTableArea> tables = parser.GetTables();
foreach (PageTableArea table in tables)
{
Console.WriteLine($"\tRows: {table.RowCount} Columns: {table.ColumnCount}");
}
}
如何取得更新
-
NuGet – 透過 NuGet 升級至最新的 GroupDocs.Parser 套件:
NuGet\Install-Package GroupDocs.Parser -Version 26.4.0NuGet\Install-Package GroupDocs.Parser.NETFramework -Version 26.4.0 -
直接下載 – 從 GroupDocs 釋出網站的 GroupDocs.Parser for .NET 26.4 頁面下載 .NET 組件:
https://releases.groupdocs.com/parser/net/new-releases/groupdocs.parser-for-.net-26.4-dlls-only/ https://releases.groupdocs.com/parser/net/new-releases/groupdocs.parser-for-.net--26.4/