TextWidth
Receives the text width.
int TextWidth( const string text // text );
Parameters
text
[in] Text for measuring.
Return Value
text height in pixels
Note
The current font is used to measure the text.