# IPdfTableDetectionStage

Detects table candidates before general page segmentation.

Interface 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Source revision**

`3b680b1b6fb1` with working tree changes

**Source**

[PdfUnderstandingContracts.cs:483](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Pdf/Reading/Understanding/PdfUnderstandingContracts.cs#L483)

**Modifiers**

abstract

Detects table candidates before general page segmentation.

## Usage

Explore 1 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 1

- Property [PdfUnderstandingPipelineOptions.TableDetection](/api/pdf/officeimo-pdf-pdfunderstandingpipelineoptions/#property-tabledetection)

Filter members 

Show inherited

## Methods

`public abstract IReadOnlyList<PdfUnderstandingTableCandidate> DetectTables(PdfUnderstandingPageContext context, IReadOnlyList<PdfUnderstandingLine> lines)` [#](#method-detecttables-officeimo-pdf-pdfunderstandingpagecontext-collections-generic-ireadonlylist-officeimo-pdf-pdfunderstandingline)

Returns table candidates and the source lines owned by each table.

Parameters

**context OfficeIMO.Pdf.PdfUnderstandingPageContext required**

**lines System.Collections.Generic.IReadOnlyList<OfficeIMO.Pdf.PdfUnderstandingLine> required**

Returns

`IReadOnlyList<PdfUnderstandingTableCandidate>`

<!-- PowerForge markdown artifact sha256:7E3FB34F713F0BD58052E069D6F75839C1EDF391827D98DDC9F07B8FDBE89722 -->
