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
PageIndexintZero-based index of the page.
TextstringThe decoded text. Characters without a Unicode mapping appear as U+FFFD.
X1doubleLeft edge of the run's box, in points.
Y1doubleBottom edge of the run's box (below the baseline, by the font's descent), in points.
X2doubleRight edge of the run's box, in points.
Y2doubleTop edge of the run's box, in points.
FontSizedoubleThe effective font size on the page, in points.
FontNamestringThe font's base name, without a subset prefix.
AngledoubleThe text direction in degrees, counter-clockwise; 0 for horizontal text.