Difference between revisions of "FONTWIDTH"

From QB64 Wiki
Jump to navigation Jump to search
imported>Clippy
m
imported>Clippy
m
Line 9: Line 9:


* Will return width of last font used if a handle is not designated.
* Will return width of last font used if a handle is not designated.
* The font width is generally 3/4 of the [[_FONTHEIGHT]].






{{PageSeeAlso}}


{{PageSeeAlso}}
*{{KW|_FONTHEIGHT}}
*{{KW|_FONTHEIGHT}}


*{{KW|_FONT}}
*{{KW|_LOADFONT}}





Revision as of 20:42, 13 October 2010

The _FONTWIDTH function returns the font width of a font handle created by _LOADFONT.


Syntax

pixel_width% = _FONTWIDTH[(font_handle)]


  • Will return width of last font used if a handle is not designated.
  • The font width is generally 3/4 of the _FONTHEIGHT.


See also




Navigation:
Keyword Reference - Alphabetical
Keyword Reference - By Usage
Main Wiki Page