|
GetTextHeight | ||
Height = GetTextHeight(String$) | ||
Parameters: String$ = The String you want to return the width of |
||
Returns: Height = The height in pixels of this string of text |
||
The GetTextHeight function returns the height (in pixels) of a string of text. FACTS: * GetTextHeight uses the current font to calculate the pixel height from. Mini Tutorial: This example displays the pixel width & height of the text message "hello World" in both the default font, and the Arial font.
This example would output.
|
Related Info: | GetCurrentFont | GetFontHeight | GetFontWidth | GetTextWidth | SetFont : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |