HiQPdf Documentation

PdfText Constructor (Single, Single, Single, Single, String, PdfStandardFont, Single)

Quickly Create High Quality PDFs
Constructs a text object to be laid out at a given coordinate and having a given width in PDF

Namespace:  HiQPdf
Assembly:  HiQPdf (in HiQPdf.dll) Version: 15.0.0.0
Syntax

public PdfText(
	float destX,
	float destY,
	float destWidth,
	float destHeight,
	string text,
	PdfStandardFont standardFont,
	float fontSize
)

Parameters

destX
Type: SystemSingle
The text X coordinate in points
destY
Type: SystemSingle
The text Y coordinate in points
destWidth
Type: SystemSingle
The output box width in PDF expressed in points
destHeight
Type: SystemSingle
The output box height in PDF expressed in points
text
Type: SystemString
The text to render
standardFont
Type: HiQPdfPdfStandardFont
The text standard font
fontSize
Type: SystemSingle
The text font size in points
See Also

Reference