From WikiChip
$height Identifier - mIRC
< mirc‎ | identifiers
Revision as of 18:55, 4 January 2018 by Ouims (talk | contribs) (Created page with "{{mirc title|$height Identifier}}'''$height''' returns the height of text in pixel in the specified font. == Synopsis == <pre>$height(text,font,size,B,C)</pre> == Parameter...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

$height returns the height of text in pixel in the specified font.


Synopsis[edit]

$height(text,font,size,B,C)

Parameters[edit]

  • text - The text you want the height of
  • font - The name of the font
  • size - The size of the font, you can specify a negative value to match the size of fonts in the font dialog
  • B - Optional, pass a non-zero value to specify a bold font
  • C - Optional, pass a non zero value to get control code to be processed

Properties[edit]

None

Example[edit]

//echo -a $height(test,verdana,15)

Compatibility[edit]

Added: mIRC v5.4
Added on: 23 Jun 1998
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.


See Also[edit]

$width