.. highlightlang:: us .. index:: TBGetAlignHorz .. _tbgetalignhorz: TBGetAlignHorz ============== .. us.tag TBGetAlignHorz NOTREADYENGLISH TB_Get Returns the horizontal text alignment. .. function:: nAlign = TBGetAlignHorz(hText) .. us.return **Return Value** *nAlign* is one of the following values: .. list-table:: :header-rows: 1 * - Value - Description * - LEFT (4) - Left aligned * - CENTER (2) - Center aligned (Default value) * - RIGHT (1) - Right aligned .. us.params **Parameters** .. uparam:: hText The handle of a text object created with :ref:`TBCreate`. .. seealso:: :ref:`overview-text-objects`, :ref:`TBSetAlignHorz`, :ref:`TBGetAlignVert`, :ref:`TBCreate` :sub:`id-392169`