# 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.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:2881

        TextTagSetMaxSize(TextTagLastCreated(), 17.0, 400.0);
        TextTagSetAlignment(TextTagLastCreated(), c_alignCenter, c_alignTop);
        TextTagSetTextAlignment(TextTagLastCreated(), c_alignLeft, c_alignTop);
        TextTagAttachToUnitPoint(TextTagLastCreated(), gv_jukeboxes[lp_jukeboxID].lv_box, "Ref_StatusBar", 127, -290);
    }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:2887

        TextTagSetMaxSize(TextTagLastCreated(), 19.0, 400.0);
        TextTagSetAlignment(TextTagLastCreated(), c_alignCenter, c_alignTop);
        TextTagSetTextAlignment(TextTagLastCreated(), c_alignLeft, c_alignTop);
        TextTagAttachToUnitPoint(TextTagLastCreated(), gv_jukeboxes[lp_jukeboxID].lv_box, "Ref_StatusBar", 25, -8);
    }

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2mapMapScript.galaxy:2881

        TextTagSetMaxSize(TextTagLastCreated(), 17.0, 400.0);
        TextTagSetAlignment(TextTagLastCreated(), c_alignCenter, c_alignTop);
        TextTagSetTextAlignment(TextTagLastCreated(), c_alignLeft, c_alignTop);
        TextTagAttachToUnitPoint(TextTagLastCreated(), gv_jukeboxes[lp_jukeboxID].lv_box, "Ref_StatusBar", 127, -290);
    }

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2mapMapScript.galaxy:2887

        TextTagSetMaxSize(TextTagLastCreated(), 19.0, 400.0);
        TextTagSetAlignment(TextTagLastCreated(), c_alignCenter, c_alignTop);
        TextTagSetTextAlignment(TextTagLastCreated(), c_alignLeft, c_alignTop);
        TextTagAttachToUnitPoint(TextTagLastCreated(), gv_jukeboxes[lp_jukeboxID].lv_box, "Ref_StatusBar", 25, -8);
    }