Table of Contents | ||
|
||
GetTextHeight | ||
Purpose Returns the height in pixels of the text |
||
Protoype int CTextMngr::GetTextHeight (string str_text_id) |
||
Parameters
|
||
Description The return value of this function depends on whether or not the text object passed in has a clipping box set up or not. If there is a clip box, then the height of the clip box is returned. If there is no clip box, then the height of the font itself is returned. |
||
Use CTextMngr text; int i_height = text.GetTextHeight("my_text"); |
||
|
||
|