GetTextTotalWidth

Description

Returns the current width of the text object in world units. If the text object is displaying text over multiple lines it will return the width of the longest line. This does not take into account the individual offsets of characters, if you have used SetTextCharX or similar to move a character. The returned value is the width used by the default drawing position of the text characters.

Definition

float GetTextTotalWidth( iTextIndex )

Parameters