C4 Engine Terathon Software C4 Engine API Documentation

• Interface Manager

API Links
Developer Links

TextElement::SetTextAlignment

Defined in:  C4Interface.h
Sets the initial alignment for a text element.
Prototype

void SetTextAlignment(TextAlignment alignment);

Parameters
alignment The new text alignment.
Description
The SetTextAlignment function sets the initial alignment for a text element, which can be one of the following values. The default text alignment is kTextAlignLeft.
See Also
TextElement::SetTextAlignment