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, byte[] fontData, float fontSize, FontStyle fontStyle )
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 - fontData
- Type: SystemByte
The text font data - fontSize
- Type: SystemSingle
The text font size in points - fontStyle
- Type: System.DrawingFontStyle
The text font style
See Also