PdfTextGlyph
OfficeIMO.Pdf
Immutable evidence for one encoded PDF glyph in a positioned text span.
Inheritance
- object
- PdfTextGlyph
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.
Accepted by parameters 1
- Method PdfTextSpan.TryGetGlyphs
Inherited Methods
Properties
public string Text { get; } #Decoded text belonging to this glyph; a ligature can contain several Unicode characters.
public int TextStart { get; } #UTF-16 offset in the owning span's PdfTextSpan.Text.
public int TextLength { get; } #Number of UTF-16 code units belonging to this glyph.
public double Advance { get; } #Baseline advance in page user-space units, including authored spacing.
public double PaintedAdvance { get; } #Glyph width in page user-space units before additional character or word spacing.
public IReadOnlyList<byte> EncodedBytes { get; } #Original encoded PDF character code; callers cannot mutate the reader's bytes.