PdfText(Single, Single, Single, String, PdfFont) Constructor
Constructs a text object to be laid out at a given coordinate and having a given width in PDF
Namespace: HiQPdfClientAssembly: HiQPdfClient.NetCore (in HiQPdfClient.NetCore.dll) Version: 16.0.0
public PdfText(
float destX,
float destY,
float destWidth,
string text,
PdfFont font
)
Public Sub New (
destX As Single,
destY As Single,
destWidth As Single,
text As String,
font As PdfFont
)
public:
PdfText(
float destX,
float destY,
float destWidth,
String^ text,
PdfFont^ font
)
new :
destX : float32 *
destY : float32 *
destWidth : float32 *
text : string *
font : PdfFont -> PdfText
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
- text String
- The text to render
- font PdfFont
- A font previously added to document