Class TableStructureResult<T>
Represents the result of table structure recognition.
public class TableStructureResult<T>
Type Parameters
TThe numeric type used for calculations.
- Inheritance
-
TableStructureResult<T>
- Inherited Members
Remarks
For Beginners: Tables have structure (rows, columns, cells) and content. This result class describes the table's layout including merged cells, headers, and the data in each cell.
Properties
Cells
Gets all cells in the table.
public IReadOnlyList<TableCell<T>> Cells { get; init; }
Property Value
Confidence
Gets the overall confidence for the structure detection.
public T Confidence { get; init; }
Property Value
- T
HasBorders
Gets whether the table has detected borders.
public bool HasBorders { get; init; }
Property Value
HeaderRows
Gets the header row indices (often row 0).
public IReadOnlyList<int> HeaderRows { get; init; }
Property Value
NumColumns
Gets the number of columns in the table.
public int NumColumns { get; init; }
Property Value
NumRows
Gets the number of rows in the table.
public int NumRows { get; init; }
Property Value
Methods
ToStringGrid()
Gets the table content as a 2D list of strings.
public List<List<string>> ToStringGrid()