• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class PdfTextRun

A reconstructed text run backed by one or more Phase B text primitives.

Inheritance
object
PdfTextRun
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
Namespace: DRIT.Document.Import.Pdf
Assembly: DRIT.Document.dll
Syntax
public sealed class PdfTextRun

Properties

Bounds

Gets the normalized page-space bounds of the represented content.

Declaration
public PdfLayoutRect Bounds { get; }
Property Value
Type Description
PdfLayoutRect

Color

Gets the source text color.

Declaration
public PdfLayoutColor Color { get; }
Property Value
Type Description
PdfLayoutColor

FontFamily

Gets the source font family name.

Declaration
public string FontFamily { get; }
Property Value
Type Description
string

FontSize

Gets the source font size in points.

Declaration
public double FontSize { get; }
Property Value
Type Description
double

FontStyle

Gets the source font style descriptor.

Declaration
public string FontStyle { get; }
Property Value
Type Description
string

FontWeight

Gets the source font weight descriptor.

Declaration
public string FontWeight { get; }
Property Value
Type Description
string

Glyphs

Gets the glyphs retained for this reconstructed text run.

Declaration
public IReadOnlyList<PdfLayoutGlyph> Glyphs { get; }
Property Value
Type Description
IReadOnlyList<PdfLayoutGlyph>

Id

Gets the stable identifier assigned to this layout item.

Declaration
public string Id { get; }
Property Value
Type Description
string

SourcePrimitiveIds

Gets the identifiers of source primitives that produced this text run.

Declaration
public IReadOnlyList<string> SourcePrimitiveIds { get; }
Property Value
Type Description
IReadOnlyList<string>

Text

Identifies a text primitive in the layout projection.

Declaration
public string Text { get; }
Property Value
Type Description
string
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX