.. highlightlang:: us .. index:: TBSetRefPoint .. _tbsetrefpoint: TBSetRefPoint ============= .. us.tag TBSetRefPoint ENGLISH TB_Set :ref:`TBSetRefPoint` specifies in what direction the extension of a text object will grow. .. function:: bool = TBSetRefPoint(hText, nRefPoint) .. 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:: nRefPoint *nRefPoint* specifies which corner will the fixed point of the text object. *nRefPoint* is an OR combination of two of the following values: .. list-table:: :header-rows: 1 * - Value - Meaning * - LEFT - Left corner. * - CENTER - Center between left and right corner. * - RIGHT - Right corner. * - TOP - Top corner. * - MIDDLE - Center between top and bottom corner. * - BOTTOM - Bottom corner. .. seealso:: :ref:`overview-drawing-objects`, :ref:`TBGetRefPoint`, :ref:`TBSetAutoSize`, :ref:`OBJSetPosWC`, :ref:`OBJGetRefPointWC` :sub:`id-783446`