FONTWIDTH (function) - QB64 Wiki

FONTWIDTH (function)

From QB64 Wiki

Revision as of 21:19, 7 January 2010 by Stylin (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The _FONTWIDTH function returns the point-size width of a monospace font.


Syntax:

result& = _FONTWIDTH(fontHandle&)


Description:

  • If fontHandle& is omitted, it is assumed to be the font of the current write page.
  • If fontHandle& is an invalid handle, an invalid handle error is thrown.
  • If the font specified by fontHandle& is not a monospace font, 0 (zero) is returned.


See also:



Navigation:
Go to Keyword Reference - Alphabetical
Go to Keyword Reference - By usage
Go to Main WIKI Page