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 - gettextwidth retrieves text width for a specific font object http://www.ousob.com [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 GetTextWidth     Retrieves text Width for a specific font object
--------------------------------------------------------------------------------

 Syntax:          <oPrn>:GetTextWidth( <cText>, <oFont> ) --> <nWidth>

 Parameters:

 <cText>          The text to retrieve its width.

 <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 width for that specified font.


See Also: METHOD GetTextHeight()

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