$lineheight » History » Version 2
Per Amundsen, 08/12/2015 10:43 PM
| 1 | 1 | Per Amundsen | _Added in 1.9.5_ |
|---|---|---|---|
| 2 | |||
| 3 | *$lineheight(font, size)* |
||
| 4 | |||
| 5 | 2 | Per Amundsen | Returns the line height of the given font and size using current AdiIRC options. |
| 6 | 1 | Per Amundsen | |
| 7 | *Parameters* |
||
| 8 | |||
| 9 | font - Font to calculate. |
||
| 10 | size - Font size to calculate. |
||
| 11 | |||
| 12 | *Example* |
||
| 13 | |||
| 14 | <pre> |
||
| 15 | //echo -ag Lineheight for Consolas 10 is $lineheight(Consolas, 10) |
||
| 16 | </pre> |