set_drawing_object_xldT_set_drawing_object_xldSetDrawingObjectXldSetDrawingObjectXldset_drawing_object_xld (Operator)

Name

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

Signatur

set_drawing_object_xld(Contour : : DrawID : )

Herror T_set_drawing_object_xld(const Hobject Contour, const Htuple DrawID)

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

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

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

void HDrawingObject.SetDrawingObjectXld(HXLDCont contour)

def set_drawing_object_xld(contour: HObject, draw_id: HHandle) -> None

Beschreibung

set_drawing_object_xldset_drawing_object_xldSetDrawingObjectXldSetDrawingObjectXldSetDrawingObjectXldset_drawing_object_xld ersetzt die XLD-Kontur, die durch das Zeichenobjekts DrawIDDrawIDDrawIDDrawIDdrawIDdraw_id 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_xldCreateDrawingObjectXldCreateDrawingObjectXldCreateDrawingObjectXldcreate_drawing_object_xld 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_xldSetDrawingObjectXldSetDrawingObjectXldSetDrawingObjectXldset_drawing_object_xld aktualisiert.

Ausführungsinformationen

Parameter

ContourContourContourContourcontourcontour (input_object)  xld_cont objectHXLDContHObjectHXLDContHobject

XLD-Kontur.

DrawIDDrawIDDrawIDDrawIDdrawIDdraw_id (input_control)  drawing_object HDrawingObject, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle des Zeichenobjekts.

Ergebnis

set_drawing_object_xldset_drawing_object_xldSetDrawingObjectXldSetDrawingObjectXldSetDrawingObjectXldset_drawing_object_xld gibt 2 (H_MSG_TRUE) zurück, falls die DrawIDDrawIDDrawIDDrawIDdrawIDdraw_id gültig ist und ContourContourContourContourcontourcontour eine Kontur ist. Gegebenenfalls wird eine Fehlerbehandlung durchgeführt.

Vorgänger

create_drawing_object_xldcreate_drawing_object_xldCreateDrawingObjectXldCreateDrawingObjectXldCreateDrawingObjectXldcreate_drawing_object_xld

Nachfolger

attach_drawing_object_to_windowattach_drawing_object_to_windowAttachDrawingObjectToWindowAttachDrawingObjectToWindowAttachDrawingObjectToWindowattach_drawing_object_to_window, clear_drawing_objectclear_drawing_objectClearDrawingObjectClearDrawingObjectClearDrawingObjectclear_drawing_object

Alternativen

create_drawing_object_xldcreate_drawing_object_xldCreateDrawingObjectXldCreateDrawingObjectXldCreateDrawingObjectXldcreate_drawing_object_xld

Siehe auch

attach_drawing_object_to_windowattach_drawing_object_to_windowAttachDrawingObjectToWindowAttachDrawingObjectToWindowAttachDrawingObjectToWindowattach_drawing_object_to_window

Modul

Foundation