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
Namespace: HiQPdfAssembly: HiQPdf.NetCore (in HiQPdf.NetCore.dll) Version: 16.0.0
public PdfText(
float destX,
float destY,
float destWidth,
float destHeight,
string text,
byte[] fontData,
float fontSize,
FontStyle fontStyle
)
Public Sub New (
destX As Single,
destY As Single,
destWidth As Single,
destHeight As Single,
text As String,
fontData As Byte(),
fontSize As Single,
fontStyle As FontStyle
)
public:
PdfText(
float destX,
float destY,
float destWidth,
float destHeight,
String^ text,
array<unsigned char>^ fontData,
float fontSize,
FontStyle fontStyle
)
new :
destX : float32 *
destY : float32 *
destWidth : float32 *
destHeight : float32 *
text : string *
fontData : byte[] *
fontSize : float32 *
fontStyle : FontStyle -> 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
- 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