TextOut Statement:
Draws text with selected TrueType font
Object.TextOut
x,y,string
|
Parameters:
x-X coordinate
y-Y coordinate
string- text to draw
|
Sample: object.SetFontName
10,10,"ASPPainter.com"
This method draws a text on the current image. Before calling this method, you can set font name, font size, font style or a combination of styles, set font orientation, antialiasing, gradient, text region and text align. See SetFontName, SetFontBold, SetFontSize, SetFontOrientation, SetGradient, SetFontRectangle, SetTextAlign for more information.
See also
ClearFontRectangle,
ClearFontStyle,
ExistFont, GetFontHeight
,SetTextAlign,
SetFontAntialias, SetFontBold,
SetFontGradient,
SetFontItalic, SetFontName
,SetFontOrientation,
SetFontRectangle, SetFontRegular
,SetFontSize, SetFontStrikeout
,SetFontUnderline
, TextOut
More samples:
|