.. highlightlang:: us .. _objsetedge: OBJSetEdge ========== .. index:: OBJSetEdge .. us.tag OBJSetEdge ENGLISH draw-set :ref:`OBJSetEdge` shows or hides the edge of a drawing object. .. function:: bool = OBJSetEdge(hobj, bVisible) .. us.return **Return Value** If the function succeeds, the return value *bool* is TRUE (1); otherwise it is FALSE (0). .. us.params **Parameters** .. uparam:: hobj *hobj* identifies a line, text, rectangle, ellipse or layer (diagram) object. .. uparam:: bVisible *bVisible* is TRUE (1) if the edge of the object is visible and FALSE (0) if it is not. .. us.example **Example** :: hDoc = DocCreate() hPage = PageCreate() DocAddPage(hDoc, hPage); hLayer = LayerCreate() PageAddLayer(hPage, hLayer) hRb = RBCreate() LayerAddObjects(hLayer, hRb) OBJSetPosSize(hRb, [3, -8, 3, 3]) OBJSetBkMode(hRb, 0) // OPAQUE OBJSetEdge(hRb, 0) OBJSetSelect(hRb, FALSE) // Deselect Object PageReplot(hPage) .. seealso:: :ref:`overview-drawing-objects`, :ref:`OBJIsEdge` :sub:`id-2065985`