# Set Text Alignment Of Text Tag

Grammar — Set the text alignment of textTag to horizontal horizontally and vertical vertically
FlagsNative | Action

Sets the alignment of text within the text tag, without changing the tag position. Note that any alignment set using “Set Alignment Of Text Tag” will override this action.

# Arguments

Returns — void

native void TextTagSetTextAlignment(
	int inTag,
	int inHoriz,
	int inVert,
);

Category: Text Tag / Formatting

# Examples

# campaigns/liberty.sc2campaign

MapScript.galaxy

// L2881
TextTagSetTextAlignment(TextTagLastCreated(), c_alignLeft, c_alignTop)
// L2887
TextTagSetTextAlignment(TextTagLastCreated(), c_alignLeft, c_alignTop)
// L2881
TextTagSetTextAlignment(TextTagLastCreated(), c_alignLeft, c_alignTop)
// L2887
TextTagSetTextAlignment(TextTagLastCreated(), c_alignLeft, c_alignTop)