PdfText(Single, Single, Single, Single, String, Font) 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,
	Font 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  Font
A .NET font

See Also