Height
Returns the height of the given text when printed with this TextRenderer. The height is in pixels. Notice that like any other function of TextRenderer this function takes a reference to a string so you have to construct a string variable of the text before passing it to this function. Examples TextRenderer renderer( ... );
String text = "Some text"; // Get the height of the text // int textHeight = renderer.Height( text ); Other functions of the class TextRenderer
Questions about Height? Click here. |