GroupDocs.Parser for .NET 26.4 Release Notes
This page contains release notes for GroupDocs.Parser for .NET 26.4
Full List of Issues Covering all Changes in this Release
| Key | Summary | Category |
|---|---|---|
| PARSERNET-2858 | Implement table extraction from HTML | Improvement |
Public API and Backward Incompatible Changes
Implement table extraction from HTML
Description
This improvement implements the functionality of extracting tables from HTML files using a template and without a template.
Public API changes
None.
Usage
The following example demonstrates how to extract tables from HTML files without a template:
// 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}");
}
}