.. highlightlang:: us .. index:: TBSetAutoSize .. _tbsetautosize: TBSetAutoSize ============= .. us.tag TBSetAutoSize ENGLISH TB_Set :ref:`TBSetAutoSize` specifies that the size of the text object should be adjusted automatically to the text extension. .. function:: bool = TBSetAutoSize(hText, bAutoSize) .. us.return **Return Value** *bool* is TRUE (1) if the function was successful and FALSE (0) if an error occued. .. us.params **Parameters** .. uparam:: hText *hText* identifies the text object. .. uparam:: bAutoSize If *bAutoSize* is TRUE (1) the size of the object will be adjusted to the text extension. .. seealso:: :ref:`overview-drawing-objects`, :ref:`TBIsAutoSize`, :ref:`OBJSetPosWC`, :ref:`OBJGetRefPointWC` :sub:`id-352687`