Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PdfLogicalTextRun

OfficeIMO.Pdf

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

Semantic text fragment aligned with one positioned PDF text span.

Inheritance

  • object
  • PdfLogicalTextRun

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

Properties

public string Text { get; } #

Text in this semantic fragment, including inferred adjacent whitespace.

public PdfTextSpan? SourceSpan { get; } #

Positioned source span supplying style and geometry, when alignment succeeded.

public string? BaseFont { get; } #

Source PDF base font name, when available.

public int? FontWeight { get; } #

Source PDF font descriptor weight, when declared.

public int? FontDescriptorFlags { get; } #

Raw source PDF font descriptor flags, when declared.

public double FontSize { get; } #

Source font size in page user-space units, or zero when no source span was aligned.

public OfficeColor? Color { get; } #

Source text color, when available.

public bool IsBold { get; } #

Bold classification from declared weight, with a legacy font-name fallback.

public bool IsItalic { get; } #

Italic classification from descriptor flags, with a legacy font-name fallback.