API Reference
PdfUnderstandingTableCandidate
A table candidate recovered before general page segmentation. The candidate owns its source lines so later stages can treat the table as one structural object.
Inheritance
- Object
- PdfUnderstandingTableCandidate
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
Constructors
public PdfUnderstandingTableCandidate(String detectionKind, Double yTop, Double yBottom, IReadOnlyList<PdfUnderstandingTableColumn> columns, IReadOnlyList<IReadOnlyList<String>> rows, IReadOnlyList<PdfUnderstandingLine> sourceLines, Double confidence = 0.5, IEnumerable<PdfInferenceEvidence> evidence = null) #Creates a table candidate for a custom table-detection stage.
Parameters
- detectionKind System.String
- yTop System.Double
- yBottom System.Double
- columns System.Collections.Generic.IReadOnlyList{OfficeIMO.Pdf.PdfUnderstandingTableColumn}
- rows System.Collections.Generic.IReadOnlyList{System.Collections.Generic.IReadOnlyList{System.String}}
- sourceLines System.Collections.Generic.IReadOnlyList{OfficeIMO.Pdf.PdfUnderstandingLine}
- confidence System.Double = 0.5
- evidence System.Collections.Generic.IEnumerable{OfficeIMO.Pdf.PdfInferenceEvidence} = null
Inherited Methods
public override Boolean Equals(Object obj) #BooleanParameters
- obj Object
Properties
public String DetectionKind { get; } #Stable detector identifier that produced this candidate.
public Double YTop { get; set; } #Top Y coordinate in CoordinateSpace.
public Double YBottom { get; set; } #Bottom Y coordinate in CoordinateSpace.
public IReadOnlyList<PdfUnderstandingTableColumn> Columns { get; } #Detected columns in CoordinateSpace.
public IReadOnlyList<IReadOnlyList<String>> Rows { get; } #Extracted row values aligned to Columns.
public IReadOnlyList<PdfUnderstandingLine> SourceLines { get; } #Exact native understanding-line fragments owned by this table.
public PdfLogicalContentSourceKind SourceKind { get; } #Whether the candidate came from native PDF operations or accepted OCR geometry.
public PdfTableCoordinateSpace CoordinateSpace { get; } #Coordinate system used by YTop, YBottom, and Columns.
public Double Confidence { get; } #Normalized table-detection confidence from 0 to 1.
public IReadOnlyList<PdfInferenceEvidence> Evidence { get; } #Evidence supporting the table candidate.