GetTextHeight()


GetTextWidth()


height = GetTextHeight(text$)

This function returns the height of the specified text in pixels.



width = GetTextWidth(text$)

This function returns the width of the specified text in pixels.

The graphics mode must be on to use these commands. If a SetScale command is in use the values returned will be scaled appropriately.


DrawText







Become a Patron