Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PdfUnderstandingTableCandidate

OfficeIMO.Pdf

Namespace
OfficeIMO.Pdf
Assembly
OfficeIMO.Pdf
Source revision
12511d2fa560 with working tree changes
Modifiers
sealed

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.

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 required
yTop double required
yBottom double required
columns System.Collections.Generic.IReadOnlyList<OfficeIMO.Pdf.PdfUnderstandingTableColumn> required
rows System.Collections.Generic.IReadOnlyList<System.Collections.Generic.IReadOnlyList<string>> required
sourceLines System.Collections.Generic.IReadOnlyList<OfficeIMO.Pdf.PdfUnderstandingLine> required
confidence double = 0.5 optional
evidence System.Collections.Generic.IEnumerable<OfficeIMO.Pdf.PdfInferenceEvidence>? = null optional

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 double Confidence { get; } #

Normalized table-detection confidence from 0 to 1.

public IReadOnlyList<PdfInferenceEvidence> Evidence { get; } #

Evidence supporting the table candidate.