Class PdfTextRun

Namespace
SoftZenPdf
Assembly
SoftZenPdf.dll

A piece of text shown by a single text-showing operator, with its position on the page.

public sealed record PdfTextRun : IEquatable<PdfTextRun>
Inheritance
PdfTextRun
Implements
Inherited Members

Constructors

PdfTextRun(int, string, double, double, double, double, double, string, double)

A piece of text shown by a single text-showing operator, with its position on the page.

Properties

Angle

The text direction in degrees, counter-clockwise; 0 for horizontal text.

FontName

The font's base name, without a subset prefix.

FontSize

The effective font size on the page, in points.

PageIndex

Zero-based index of the page.

Text

The decoded text. Characters without a Unicode mapping appear as U+FFFD.

X1

Left edge of the run's box, in points.

X2

Right edge of the run's box, in points.

Y1

Bottom edge of the run's box (below the baseline, by the font's descent), in points.

Y2

Top edge of the run's box, in points.