PdfText(Single, Single, Single, Single, String, Byte, Single, FontStyle) 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,
	byte[] fontData,
	float fontSize,
	FontStyle fontStyle
)

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
fontData  Byte
The text font data
fontSize  Single
The text font size in points
fontStyle  FontStyle
The text font style

See Also