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
| Name | Type | Access | Description |
|---|---|---|---|
Tables | IReadOnlyList<AbsorbedTable> | Read | Detected tables. |
TableList | IList<AbsorbedTable> | Read | Detected tables (returns the mutable backing list). |
TextSearchOptions | TextSearchOptions? | Read/Write | Search options controlling case sensitivity, regex use, and bounded-search rectangle. |
UseFlowEngine | bool | Read/Write | Whether the flow engine is used during table detection. |
Methods
| Signature | Description |
|---|---|
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. |