This wiki is out of date, use the continuation of this wiki instead

Text height

From FenixWiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 00:24, 29 December 2007 (edit)
Sandman (Talk | contribs)
(New page: Category:functions Category:texts ==Definition== '''INT''' text_height ( <'''INT''' fontID> , <'''STRING''' text> ) Calculates the height in pixels of the specified text in the s...)
← Previous diff
Current revision (00:25, 29 December 2007) (edit) (undo)
Sandman (Talk | contribs)
m
 
Line 21: Line 21:
| >0 || - The height in pixels of the text in the font. | >0 || - The height in pixels of the text in the font.
|} |}
 +
 +== See also ==
 +* [[text_width]]()

Current revision


Contents

[edit] Definition

INT text_height ( <INT fontID> , <STRING text> )

Calculates the height in pixels of the specified text in the specified font.

[edit] Parameters

INT FontID - FontID of the font for which the height of the text will be the calculated.
STRING text - The text of which the height will be calculated.

[edit] Returns

INT : The height in pixels of the text in the font.

0 - Invalid or no text; invalid font.
>0 - The height in pixels of the text in the font.

[edit] See also

Personal tools