Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PdfStructuredLine

OfficeIMO.Pdf

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

Geometry detail for a single emitted line.

Inheritance

  • object
  • PdfStructuredLine

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 4 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 PdfStructuredLine() #

Properties

public double Y { get; set; } #

Baseline Y coordinate for the line (points from bottom).

public double XStart { get; set; } #

Leftmost X coordinate (points).

public double XEnd { get; set; } #

Rightmost X coordinate (points).

public string Text { get; set; } #

Line text.

public double FontSize { get; set; } #

Representative font size in page user-space units.

public double Confidence { get; internal set; } #

Normalized source-extraction confidence from 0 through 1.

public IReadOnlyList<PdfTextSpan> Spans { get; internal set; } #

Immutable snapshot of the positioned text spans grouped into this line.

public int SpanCount { get; } #

Number of underlying spans grouped into this line.