PdfUnderstandingTableCandidate
OfficeIMO.Pdf
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
Remarks
Native page coordinates use default user-space units: one unit is /UserUnit physical points (1/72 inch each), defaulting to 1. Local text/font and matrix values retain their native coordinate spaces. Explicit visual projections use their documented coordinates.
Usage
Explore 3 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 3
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 string
- yTop double
- yBottom double
- columns System.Collections.Generic.IReadOnlyList<OfficeIMO.Pdf.PdfUnderstandingTableColumn>
- rows System.Collections.Generic.IReadOnlyList<System.Collections.Generic.IReadOnlyList<string>>
- sourceLines System.Collections.Generic.IReadOnlyList<OfficeIMO.Pdf.PdfUnderstandingLine>
- confidence double = 0.5
- evidence System.Collections.Generic.IEnumerable<OfficeIMO.Pdf.PdfInferenceEvidence>? = null
Inherited Methods
Properties
public string DetectionKind { get; } #Stable detector identifier that produced this candidate.
public double YTop { get; private set; } #Top Y coordinate in PdfUnderstandingTableCandidate.CoordinateSpace.
public double YBottom { get; private set; } #Bottom Y coordinate in PdfUnderstandingTableCandidate.CoordinateSpace.
public IReadOnlyList<PdfUnderstandingTableColumn> Columns { get; } #Detected columns in PdfUnderstandingTableCandidate.CoordinateSpace.
public IReadOnlyList<IReadOnlyList<string>> Rows { get; } #Extracted row values aligned to PdfUnderstandingTableCandidate.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 PdfUnderstandingTableCandidate.YTop, PdfUnderstandingTableCandidate.YBottom, and PdfUnderstandingTableCandidate.Columns.
public double Confidence { get; } #Normalized table-detection confidence from 0 to 1.
public IReadOnlyList<PdfInferenceEvidence> Evidence { get; } #Evidence supporting the table candidate.