# PdfUnderstandingLine

One grouped text line. Review signatures, members, parameters, type relationships, and available reference details in OfficeIMO.Pdf API Reference.

Class 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[PdfUnderstandingContracts.cs:152](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Understanding/PdfUnderstandingContracts.cs#L152)

**Modifiers**

sealed

One grouped text line.

## Inheritance

- object
- PdfUnderstandingLine

## 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 8 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 4

- Method [IPdfLineGroupingStage.GroupLines](/api/pdf/officeimo-pdf-ipdflinegroupingstage/#method-grouplines-officeimo-pdf-pdfunderstandingpagecontext-collections-generic-ireadonlylist-officeimo-pdf-pdfunderstandingword)
- Property [PdfUnderstandingPageResult.Lines](/api/pdf/officeimo-pdf-pdfunderstandingpageresult/#property-lines)
- Property [PdfUnderstandingRegion.Lines](/api/pdf/officeimo-pdf-pdfunderstandingregion/#property-lines)
- Property [PdfUnderstandingTableCandidate.SourceLines](/api/pdf/officeimo-pdf-pdfunderstandingtablecandidate/#property-sourcelines)

### Accepted by parameters 4

- Method [IPdfPageSegmentationStage.Segment](/api/pdf/officeimo-pdf-ipdfpagesegmentationstage/#method-segment-officeimo-pdf-pdfunderstandingpagecontext-collections-generic-ireadonlylist-officeimo-pdf-pdfunderstandingline) parameter `lines`
- Method [IPdfTableDetectionStage.DetectTables](/api/pdf/officeimo-pdf-ipdftabledetectionstage/#method-detecttables-officeimo-pdf-pdfunderstandingpagecontext-collections-generic-ireadonlylist-officeimo-pdf-pdfunderstandingline) parameter `lines`
- Constructor [PdfUnderstandingRegion.PdfUnderstandingRegion](/api/pdf/officeimo-pdf-pdfunderstandingregion/#constructor-ctor-collections-generic-ireadonlylist-officeimo-pdf-pdfunderstandingline-nullable-system-double-collections-generic-ienumerable-officeimo-pdf-pdfinferenceevidence) parameter `lines`
- Constructor [PdfUnderstandingTableCandidate.PdfUnderstandingTableCandidate](/api/pdf/officeimo-pdf-pdfunderstandingtablecandidate/#constructor-ctor-string-double-double-collections-generic-ireadonlylist-officeimo-pdf-pdfunderstandingtablecolumn-collections-generic-ireadonlylist-system-collections-generic-ireadonlylist-system-string-collections-generic-ireadonlylist-officeimo-pdf-pdfunderstandingline-double-collections-generic-ienumerable-officeimo-pdf-pdfinferenceevidence) parameter `sourceLines`

Filter members 

Show inherited

## Constructors

`public PdfUnderstandingLine(IReadOnlyList<PdfUnderstandingWord> words, double? confidence = null, IEnumerable<PdfInferenceEvidence>? evidence = null)` [#](#constructor-ctor-collections-generic-ireadonlylist-officeimo-pdf-pdfunderstandingword-nullable-system-double-collections-generic-ienumerable-officeimo-pdf-pdfinferenceevidence)

[PdfUnderstandingContracts.cs:152](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Understanding/PdfUnderstandingContracts.cs#L152)

Creates a line from words in local reading order.

Parameters

**words System.Collections.Generic.IReadOnlyList<OfficeIMO.Pdf.PdfUnderstandingWord> required**

**confidence double? = null optional**

**evidence System.Collections.Generic.IEnumerable<OfficeIMO.Pdf.PdfInferenceEvidence>? = null optional**

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public IReadOnlyList<PdfUnderstandingWord> Words { get; }` [#](#property-words)

[PdfUnderstandingContracts.cs:201](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Understanding/PdfUnderstandingContracts.cs#L201)

Words in line order.

`public string Text { get; }` [#](#property-text)

[PdfUnderstandingContracts.cs:203](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Understanding/PdfUnderstandingContracts.cs#L203)

Normalized line text.

`public double XStart { get; }` [#](#property-xstart)

[PdfUnderstandingContracts.cs:205](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Understanding/PdfUnderstandingContracts.cs#L205)

Left bound.

`public double XEnd { get; }` [#](#property-xend)

[PdfUnderstandingContracts.cs:207](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Understanding/PdfUnderstandingContracts.cs#L207)

Right bound.

`public double BaselineY { get; }` [#](#property-baseliney)

[PdfUnderstandingContracts.cs:209](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Understanding/PdfUnderstandingContracts.cs#L209)

Representative baseline.

`public double FontSize { get; }` [#](#property-fontsize)

[PdfUnderstandingContracts.cs:211](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Understanding/PdfUnderstandingContracts.cs#L211)

Largest font size in the line.

`public double RotationDegrees { get; }` [#](#property-rotationdegrees)

[PdfUnderstandingContracts.cs:213](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Understanding/PdfUnderstandingContracts.cs#L213)

Representative baseline rotation.

`public double Confidence { get; }` [#](#property-confidence)

[PdfUnderstandingContracts.cs:215](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Understanding/PdfUnderstandingContracts.cs#L215)

Normalized line-grouping confidence from 0 to 1.

`public IReadOnlyList<PdfInferenceEvidence> Evidence { get; }` [#](#property-evidence)

[PdfUnderstandingContracts.cs:217](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Understanding/PdfUnderstandingContracts.cs#L217)

Evidence supporting this line grouping.

`public PdfLogicalContentSourceKind SourceKind { get; }` [#](#property-sourcekind)

[PdfUnderstandingContracts.cs:219](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Understanding/PdfUnderstandingContracts.cs#L219)

Whether the line came from native PDF text or accepted OCR geometry.

`public int? SourceSequence { get; }` [#](#property-sourcesequence)

[PdfUnderstandingContracts.cs:221](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Understanding/PdfUnderstandingContracts.cs#L221)

Original source reading position, when supplied.

`public string? BlockId { get; }` [#](#property-blockid)

[PdfUnderstandingContracts.cs:223](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Understanding/PdfUnderstandingContracts.cs#L223)

Provider block identifier, when supplied.

`public string? ParagraphId { get; }` [#](#property-paragraphid)

[PdfUnderstandingContracts.cs:225](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Understanding/PdfUnderstandingContracts.cs#L225)

Provider paragraph identifier, when supplied.

`public string? LineId { get; }` [#](#property-lineid)

[PdfUnderstandingContracts.cs:227](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Understanding/PdfUnderstandingContracts.cs#L227)

Provider line identifier, when supplied.

`public PdfLogicalVisualBounds? VisualBounds { get; }` [#](#property-visualbounds)

[PdfUnderstandingContracts.cs:229](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Understanding/PdfUnderstandingContracts.cs#L229)

Direct top-left visual bounds, when supplied.

<!-- PowerForge markdown artifact sha256:0F8A9EC005D0BB02CDD302851E265BE1AAB1AF64FC5285E5ED8F1FCEAC6274E4 -->
