set_drawing_object_xld — Set the contour of an interactive draw XLD.
set_drawing_object_xld substitutes the XLD currently contained in the draw object by the new Contour. The contour must contain at least two points, so that the interaction as described in create_drawing_object_xld is possible.
In addition, if the drawing object DrawID is currently attached to a HALCON window, the window will be redrawn with each call of set_drawing_object_xld.
Handle of the drawing object.
set_drawing_object_xld returns 2 (H_MSG_TRUE), if the DrawID is valid and Contour is a contour consisting of at least two points. If necessary, an exception is raised.