PdfText(Single, Single, Single, Single, String, PdfFont) Constructor
Constructs a text object to be laid out at a given coordinate and having a given width in PDF
Namespace: HiQPdfAssembly: HiQPdf.NetCore (in HiQPdf.NetCore.dll) Version: 18.0.0
public PdfText(
float destX,
float destY,
float destWidth,
float destHeight,
string text,
PdfFont font
)
Parameters
- destX Single
- The text X coordinate in points
- destY Single
- The text Y coordinate in points
- destWidth Single
- The output box width in PDF expressed in points
- destHeight Single
- The output box height in PDF expressed in points
- text String
- The text to render
- font PdfFont
- A font previously added to document