Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

PdfUnderstandingTableCandidate

Namespace OfficeIMO.Pdf
Assembly OfficeIMO.Pdf
Source revision e31b305980e3 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

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 System.String requiredposition: 0
yTop System.Double requiredposition: 1
yBottom System.Double requiredposition: 2
columns System.Collections.Generic.IReadOnlyList<OfficeIMO.Pdf.PdfUnderstandingTableColumn> requiredposition: 3
rows System.Collections.Generic.IReadOnlyList<System.Collections.Generic.IReadOnlyList<System.String>> requiredposition: 4
sourceLines System.Collections.Generic.IReadOnlyList<OfficeIMO.Pdf.PdfUnderstandingLine> requiredposition: 5
confidence System.Double = 0.5 optionalposition: 6
evidence System.Collections.Generic.IEnumerable<OfficeIMO.Pdf.PdfInferenceEvidence>? = null optionalposition: 7

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.