KlassenKlassenKlassenKlassen | | | | Operatoren

set_drawing_object_xldset_drawing_object_xldSetDrawingObjectXldset_drawing_object_xldSetDrawingObjectXldSetDrawingObjectXld (Operator)

Name

set_drawing_object_xldset_drawing_object_xldSetDrawingObjectXldset_drawing_object_xldSetDrawingObjectXldSetDrawingObjectXld — Setzen einer XLD-Kontur eines XLD-Zeichenobjekts.

Signatur

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)

Beschreibung

set_drawing_object_xldset_drawing_object_xldSetDrawingObjectXldset_drawing_object_xldSetDrawingObjectXldSetDrawingObjectXld ersetzt die XLD-Kontur, die durch das Zeichenobjekts DrawIDDrawIDDrawIDDrawIDDrawIDdrawID repräsentiert wird, durch die neue XLD-Kontur ContourContourContourContourContourcontour. Die Kontur muss mindestens zwei Punkte enthalten, so dass eine Interaktion, wie in create_drawing_object_xldcreate_drawing_object_xldCreateDrawingObjectXldcreate_drawing_object_xldCreateDrawingObjectXldCreateDrawingObjectXld beschrieben, möglich ist.

Wenn die Kontur bereits an ein HALCON-Fenster angehängt ist, wird dieses beim Aufruf von set_drawing_object_xldset_drawing_object_xldSetDrawingObjectXldset_drawing_object_xldSetDrawingObjectXldSetDrawingObjectXld aktualisiert.

Parallelisierung

Parameter

ContourContourContourContourContourcontour (input_object)  xld_cont objectHXLDContHXLDContHXLDContHXLDContXHobject

XLD-Kontur.

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

Handle des Zeichenobjekts.

Ergebnis

set_drawing_object_xldset_drawing_object_xldSetDrawingObjectXldset_drawing_object_xldSetDrawingObjectXldSetDrawingObjectXld gibt 2 (H_MSG_TRUE) zurück, falls die DrawIDDrawIDDrawIDDrawIDDrawIDdrawID gültig ist und ContourContourContourContourContourcontour eine Kontur ist. Gegebenfalls wird eine Fehlerbehandlung durchgeführt.

Vorgänger

create_drawing_object_xldcreate_drawing_object_xldCreateDrawingObjectXldcreate_drawing_object_xldCreateDrawingObjectXldCreateDrawingObjectXld

Nachfolger

attach_drawing_object_to_windowattach_drawing_object_to_windowAttachDrawingObjectToWindowattach_drawing_object_to_windowAttachDrawingObjectToWindowAttachDrawingObjectToWindow, clear_drawing_objectclear_drawing_objectClearDrawingObjectclear_drawing_objectClearDrawingObjectClearDrawingObject

Alternativen

create_drawing_object_xldcreate_drawing_object_xldCreateDrawingObjectXldcreate_drawing_object_xldCreateDrawingObjectXldCreateDrawingObjectXld

Siehe auch

attach_drawing_object_to_windowattach_drawing_object_to_windowAttachDrawingObjectToWindowattach_drawing_object_to_windowAttachDrawingObjectToWindowAttachDrawingObjectToWindow

Modul

Foundation


KlassenKlassenKlassenKlassen | | | | Operatoren