| PdfTextObjectCreate(String, Single, Single, PdfFont, Single) Method |
Create new instance of PdfTextObject class
Namespace: Patagames.Pdf.NetAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.89.2704
Syntax public static PdfTextObject Create(
string text,
float x,
float y,
PdfFont font,
float fontsize
)
Public Shared Function Create (
text As String,
x As Single,
y As Single,
font As PdfFont,
fontsize As Single
) As PdfTextObject
public:
static PdfTextObject^ Create(
String^ text,
float x,
float y,
PdfFont^ font,
float fontsize
)
static member Create :
text : string *
x : float32 *
y : float32 *
font : PdfFont *
fontsize : float32 -> PdfTextObject
public static PdfTextObject Create(
String text,
float x,
float y,
PdfFont font,
float fontsize
)
Patagames.Pdf.Net.PdfTextObject.Create = function(text, x, y, font, fontsize);
Parameters
- text String
- Sets unicode string to text object
- x Single
- Sets the horizontal coordinate of the bottom-left corner of the text object relative to the down-left corner of its page.
- y Single
- Sets the vertical coordinate of the bottom-left corner of the text object relative to the down-left corner of its page.
- font PdfFont
- Sets the Font of a text object.
- fontsize Single
- Sets font size.
Return Value
PdfTextObjectNew instance of PdfTextObject
See Also