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

Constructs a text object to be laid out at a given coordinate and having a given width in PDF

Definition

Namespace: HiQPdf
Assembly: HiQPdf.NetCore (in HiQPdf.NetCore.dll) Version: 16.0.0
C#
public PdfText(
	float destX,
	float destY,
	float destWidth,
	float destHeight,
	string text,
	PdfStandardFont standardFont,
	float fontSize
)

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
standardFont  PdfStandardFont
The text standard font
fontSize  Single
The text font size in points

See Also