Constructor PdfTextRun

Namespace
SoftZenPdf
Assembly
SoftZenPdf.dll

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.

public PdfTextRun(int PageIndex, string Text, double X1, double Y1, double X2, double Y2, double FontSize, string FontName, double Angle)

Parameters

PageIndex int

Zero-based index of the page.

Text string

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

X1 double

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

Y1 double

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

X2 double

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

Y2 double

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

FontSize double

The effective font size on the page, in points.

FontName string

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

Angle double

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