def __set_text_align(self, value):
<EOL>target = self._get_target()<EOL>struct = target.getPropertyValue('<STR_LIT>')<EOL>struct.value = value<EOL>target.setPropertyValue('<STR_LIT>', struct)<EOL>
Sets horizontal alignment.

Accepts TEXT_ALIGN_* constants.