SetFontName Statement:
Set font name. For example to "Times New Roman"
Object.SetFontName
fontName
|
Parameters:
fontName-has string type. Defines font name.
|
Sample: object.SetFontName
"Arial"
This method sets current font to draw text. You can check whether this font exists by calling ExistFont method.
See also
ClearFontRectangle,
ClearFontStyle,
ExistFont, GetFontHeight
,SetTextAlign,
SetFontAntialias, SetFontBold,
SetFontGradient,
SetFontItalic, SetFontName
,SetFontOrientation,
SetFontRectangle, SetFontRegular
,SetFontSize, SetFontStrikeout
,SetFontUnderline
, TextOut
More samples:
|