ClassesClassesClassesClasses | | | | Operators

set_drawing_object_xldset_drawing_object_xldSetDrawingObjectXldset_drawing_object_xldSetDrawingObjectXldSetDrawingObjectXld (Operator)

Name

set_drawing_object_xldset_drawing_object_xldSetDrawingObjectXldset_drawing_object_xldSetDrawingObjectXldSetDrawingObjectXld — Set the contour of an interactive draw XLD.

Signature

set_drawing_object_xld(Contour : : DrawID : )

Herror set_drawing_object_xld(const Hobject Contour, const Hlong DrawID)

Herror T_set_drawing_object_xld(const Hobject Contour, const Htuple DrawID)

Herror set_drawing_object_xld(Hobject Contour, const HTuple& DrawID)

void HDrawingObject::SetDrawingObjectXld(const HXLDCont& Contour) const

void SetDrawingObjectXld(const HObject& Contour, const HTuple& DrawID)

void HDrawingObject::SetDrawingObjectXld(const HXLDCont& Contour) const

void HOperatorSetX.SetDrawingObjectXld(
[in] IHUntypedObjectX* Contour, [in] VARIANT DrawID)

void HDrawingObjectX.SetDrawingObjectXld([in] IHXLDContX* Contour)

static void HOperatorSet.SetDrawingObjectXld(HObject contour, HTuple drawID)

void HDrawingObject.SetDrawingObjectXld(HXLDCont contour)

Description

set_drawing_object_xldset_drawing_object_xldSetDrawingObjectXldset_drawing_object_xldSetDrawingObjectXldSetDrawingObjectXld substitutes the XLD currently contained in the draw object by the new ContourContourContourContourContourcontour. The contour must contain at least two points, so that the interaction as described in create_drawing_object_xldcreate_drawing_object_xldCreateDrawingObjectXldcreate_drawing_object_xldCreateDrawingObjectXldCreateDrawingObjectXld is possible.

In addition, if the drawing object DrawIDDrawIDDrawIDDrawIDDrawIDdrawID is currently attached to a HALCON window, the window will be redrawn with each call of set_drawing_object_xldset_drawing_object_xldSetDrawingObjectXldset_drawing_object_xldSetDrawingObjectXldSetDrawingObjectXld.

Parallelization

Parameters

ContourContourContourContourContourcontour (input_object)  xld_cont objectHXLDContHXLDContHXLDContHXLDContXHobject

XLD contour.

DrawIDDrawIDDrawIDDrawIDDrawIDdrawID (input_control)  drawing_object HDrawingObject, HTupleHTupleHDrawingObject, HTupleHDrawingObjectX, VARIANTHtuple (integer) (IntPtr) (Hlong) (Hlong) (Hlong) (Hlong)

Handle of the drawing object.

Result

set_drawing_object_xldset_drawing_object_xldSetDrawingObjectXldset_drawing_object_xldSetDrawingObjectXldSetDrawingObjectXld returns 2 (H_MSG_TRUE), if the DrawIDDrawIDDrawIDDrawIDDrawIDdrawID is valid and ContourContourContourContourContourcontour is a contour consisting of at least two points. If necessary, an exception is raised.

Possible Predecessors

create_drawing_object_xldcreate_drawing_object_xldCreateDrawingObjectXldcreate_drawing_object_xldCreateDrawingObjectXldCreateDrawingObjectXld

Possible Successors

attach_drawing_object_to_windowattach_drawing_object_to_windowAttachDrawingObjectToWindowattach_drawing_object_to_windowAttachDrawingObjectToWindowAttachDrawingObjectToWindow, clear_drawing_objectclear_drawing_objectClearDrawingObjectclear_drawing_objectClearDrawingObjectClearDrawingObject

Alternatives

create_drawing_object_xldcreate_drawing_object_xldCreateDrawingObjectXldcreate_drawing_object_xldCreateDrawingObjectXldCreateDrawingObjectXld

See also

attach_drawing_object_to_windowattach_drawing_object_to_windowAttachDrawingObjectToWindowattach_drawing_object_to_windowAttachDrawingObjectToWindowAttachDrawingObjectToWindow

Module

Foundation


ClassesClassesClassesClasses | | | | Operators