GroupDocs.Parser for .NET 26.4 Release Notes

Full List of Issues Covering all Changes in this Release

KeySummaryCategory
PARSERNET-2858Implement table extraction from HTMLImprovement

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}");
    }
}