API Reference

Class

PdfUnderstandingLine

Namespace OfficeIMO.Pdf
Assembly OfficeIMO.Pdf
Modifiers sealed

One grouped text line.

Inheritance

  • Object
  • PdfUnderstandingLine

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters

Constructors

public PdfUnderstandingLine(IReadOnlyList<PdfUnderstandingWord> words, Nullable<Double> confidence = null, IEnumerable<PdfInferenceEvidence> evidence = null) #

Creates a line from words in local reading order.

Parameters

words System.Collections.Generic.IReadOnlyList{OfficeIMO.Pdf.PdfUnderstandingWord} requiredposition: 0
confidence System.Nullable{System.Double} = null optionalposition: 1
evidence System.Collections.Generic.IEnumerable{OfficeIMO.Pdf.PdfInferenceEvidence} = null optionalposition: 2

Properties

public IReadOnlyList<PdfUnderstandingWord> Words { get; } #

Words in line order.

public String Text { get; } #

Normalized line text.

public Double BaselineY { get; } #

Representative baseline.

public Double FontSize { get; } #

Largest font size in the line.

public Double RotationDegrees { get; } #

Representative baseline rotation.

public Double Confidence { get; } #

Normalized line-grouping confidence from 0 to 1.

public IReadOnlyList<PdfInferenceEvidence> Evidence { get; } #

Evidence supporting this line grouping.