GetFontHeight Statement:
Get the height of a text string
height = Object.GetFontHeight
|
Returns: height has integer type.
|
Sample: height = object.GetFontHeight
This method returns the height of currently selected font. GetFontHeight method
can be used to draw texts to calculate coordinates of each text line.
See also
ClearFontRectangle,
ClearFontStyle,
ExistFont, GetFontHeight
,SetTextAlign,
SetFontAntialias, SetFontBold,
SetFontGradient,
SetFontItalic, SetFontName
,SetFontOrientation,
SetFontRectangle, SetFontRegular
,SetFontSize, SetFontStrikeout
,SetFontUnderline
, TextOut
More samples:
|