TextWidget::MeasureText
Defined in:
Returns the rendered width of the text string.
C4Widgets.h
Prototype
float MeasureText(void) const;
Description
The MeasureText
function calculates the width of the string stored in a text widget, in pixels, and returns it. All enabled layout settings and format directives are applied to the string.