Class PdfLatticeTable
High-confidence lattice table inferred from normalized PDF geometry.
Inherited Members
Namespace: DRIT.Document.Import.Pdf
Assembly: DRIT.Document.dll
Syntax
public sealed class PdfLatticeTable
Properties
Bounds
Gets the normalized page-space bounds of the represented content.
Declaration
public PdfLayoutRect Bounds { get; }
Property Value
| Type | Description |
|---|---|
| PdfLayoutRect |
Cells
Gets the editable cells inferred for this table.
Declaration
public IReadOnlyList<PdfLatticeTableCell> Cells { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<PdfLatticeTableCell> |
ColumnBoundaries
Gets the x-coordinates of the table column boundaries in points.
Declaration
public IReadOnlyList<double> ColumnBoundaries { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<double> |
ColumnCount
Gets the number of table columns represented by the boundary list.
Declaration
public int ColumnCount { get; }
Property Value
| Type | Description |
|---|---|
| int |
Confidence
Gets the deterministic confidence score for this decision, from 0 to 1.
Declaration
public double Confidence { get; }
Property Value
| Type | Description |
|---|---|
| double |
HasSpans
Gets a value indicating whether any table cell spans multiple rows or columns.
Declaration
public bool HasSpans { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Id
Gets the stable identifier assigned to this layout item.
Declaration
public string Id { get; }
Property Value
| Type | Description |
|---|---|
| string |
PathPrimitiveIds
Gets the identifiers of path primitives used to infer this table.
Declaration
public IReadOnlyList<string> PathPrimitiveIds { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<string> |
RowBoundaries
Gets the y-coordinates of the table row boundaries in points.
Declaration
public IReadOnlyList<double> RowBoundaries { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<double> |
RowCount
Gets the number of table rows represented by the boundary list.
Declaration
public int RowCount { get; }
Property Value
| Type | Description |
|---|---|
| int |
TextPrimitiveIds
Gets the identifiers of text primitives that contributed to this item.
Declaration
public IReadOnlyList<string> TextPrimitiveIds { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<string> |