HiQPdf Documentation

PdfText Constructor (Single, Single, Single, Single, String, PdfFont)

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,
	PdfFont font
)

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
font
Type: HiQPdfPdfFont
A font previously added to document
See Also

Reference