Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

PdfTextGlyph

Namespace OfficeIMO.Pdf
Assembly OfficeIMO.Pdf
Modifiers sealed

Immutable evidence for one encoded PDF glyph in a positioned text span.

Inheritance

  • Object
  • PdfTextGlyph

Usage

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

Accepted by parameters

Properties

public String Text { get; } #

Decoded text belonging to this glyph; a ligature can contain several Unicode characters.

public Int32 TextStart { get; } #

UTF-16 offset in the owning span's Text.

public Int32 TextLength { get; } #

Number of UTF-16 code units belonging to this glyph.

public Double X { get; } #

Glyph origin in page user-space points.

public Double Y { get; } #

Glyph origin in page user-space points.

public Double Advance { get; } #

Baseline advance in points, including authored spacing.

public Double PaintedAdvance { get; } #

Glyph width in points before additional character or word spacing.

public IReadOnlyList<Byte> EncodedBytes { get; } #

Original encoded PDF character code; callers cannot mutate the reader's bytes.