.. highlightlang:: us .. _objgetpossize: OBJGetPosSize ============= .. index:: OBJGetPosSize .. us.tag OBJGetPosSize ENGLISH draw-get :ref:`OBJGetPosSize` returns the position and the size of a drawing object or a diagram in centimeters. .. function:: rvPosSize = OBJGetPosSize(hobj) .. us.return **Return Value** *rvPosSize* is a vector with 4 elements: .. list-table:: :header-rows: 1 * - Value - Meaning * - rvPosSize[1] - x-coordinate of the left corner in centimeters * - rvPosSize[2] - y-coordinate of the lower corner in centimeters * - rvPosSize[3] - width of the drawing object in centimeters * - rvPosSize[4] - height of the drawing object in centimeters .. us.params **Parameters** .. uparam:: hobj *hobj* identifies a line, text, rectangle, ellipse or layer (diagram) object. .. seealso:: :ref:`overview-drawing-objects`, :ref:`OBJSetPosSize` :sub:`id-621773`