Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

PdfUnderstandingLine

Namespace OfficeIMO.Pdf
Assembly OfficeIMO.Pdf
Source revision 804a7612eee4 with working tree changes
Modifiers sealed

One grouped text line.

Inheritance

  • Object
  • PdfUnderstandingLine

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.

Accepted by parameters 4

Constructors

public PdfUnderstandingLine(IReadOnlyList<PdfUnderstandingWord> words, 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.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 XStart { get; } #

Left bound.

public Double XEnd { get; } #

Right bound.

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.

public PdfLogicalContentSourceKind SourceKind { get; } #

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

public Int32? SourceSequence { get; } #

Original source reading position, when supplied.

public String? BlockId { get; } #

Provider block identifier, when supplied.

public String? ParagraphId { get; } #

Provider paragraph identifier, when supplied.

public String? LineId { get; } #

Provider line identifier, when supplied.

public PdfLogicalVisualBounds? VisualBounds { get; } #

Direct top-left visual bounds, when supplied.