Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PdfRegionText

OfficeIMO.Pdf

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

Text and dominant style detected inside a page region.

Inheritance

  • object
  • PdfRegionText

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

Properties

public string Text { get; } #

Text assembled in visual line order.

public IReadOnlyList<PdfTextSpan> Spans { get; } #

Source spans selected by the region.

public PdfStandardFont SuggestedFont { get; } #

Closest standard PDF font for replacement text.

public string? SourceFont { get; } #

Original PDF base-font name when available.

public double FontSize { get; } #

Dominant font size in page user-space units.

public OfficeColor Color { get; } #

Dominant text color.

public double RotationDegrees { get; } #

Dominant baseline rotation in degrees.

public double BaselineX { get; } #

Baseline X coordinate used for style-preserving replacement.

public double BaselineY { get; } #

Baseline Y coordinate used for style-preserving replacement.