TableAbsorber

TableAbsorber

Overview

TableAbsorber is a class in Aspose.PDF FOSS for .NET.

Detects and extracts tables from PDF pages by analyzing text positions and line drawing operations.

This class provides 6 methods for working with TableAbsorber objects in .NET programs. Available methods include: Remove, Replace, TableAbsorber, Visit. All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package. Properties: TableList, Tables, TextSearchOptions, UseFlowEngine.

Properties

NameTypeAccessDescription
TablesIReadOnlyList<AbsorbedTable>ReadDetected tables.
TableListIList<AbsorbedTable>ReadDetected tables (returns the mutable backing list).
TextSearchOptionsTextSearchOptions?Read/WriteSearch options controlling case sensitivity, regex use, and bounded-search rectangle.
UseFlowEngineboolRead/WriteWhether the flow engine is used during table detection.

Methods

SignatureDescription
TableAbsorber()Construct with default search options.
TableAbsorber(textSearchOptions: TextSearchOptions)Construct with the given text-search options.
Remove(table: AbsorbedTable)Remove a table from the page content stream and the detected list.
Replace(page: Page, oldTable: AbsorbedTable, newTable: Aspose.Pdf.Table)Replace oldTable on page with newTable.
Visit(pdf: Document)Visit every page in pdf and detect tables.
Visit(page: Page)Visit a page and detect tables.

See Also