C4 Engine Terathon Software C4 Engine API Documentation

• Utility Library

API Links
Developer Links

Text::GetTextLength

Defined in:  C4String.h
Returns the length of a character string.
Prototype

int32 GetTextLength(const char *text);

Parameters
text A pointer to a null-terminated character string.
Description
The GetTextLength function returns the number of bytes occupied by the string specified by the text parameter.

The string must be null-terminated by a zero byte. The null terminator is not included in the length.
See Also

Text::GetGlyphCountUTF8