Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FiveWin 1.9.2 - January 97 - gettextheight retrieves text height for a specific font object http://www.ousob.com [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 GetTextHeight    Retrieves text Height for a specific font object
--------------------------------------------------------------------------------

 Syntax:          <oPrn>:GetTextHeight( <cText>, <oFont> ) --> <nHeight>

 Parameters:

 <cText>          The text to retrieve its height.

 <oFont>          A font object. By default it uses the default font
                  oFont of the printer object. To create it use:

                  DEFINE FONT oFont NAME ... SIZE ...

 Returns:         The height for that specified font. In fact, this
                  height it is not depending on the text, but just on
                  the font object.


See Also: METHOD GetTextWidth()

Online resources provided by: http://www.ousob.com --- NG 2 HTML conversion by Dave Pearson