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_xldSetDrawingObjectXldSetDrawingObjectXldset_drawing_object_xld ersetzt die XLD-Kontur, die durch das Zeichenobjekts DrawIDDrawIDDrawIDdrawIDdraw_id repräsentiert wird, durch die neue XLD-Kontur ContourContourContourcontourcontour. Die Kontur muss mindestens zwei Punkte enthalten, so dass eine Interaktion, wie in create_drawing_object_xldcreate_drawing_object_xldCreateDrawingObjectXldCreateDrawingObjectXldcreate_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_xldSetDrawingObjectXldSetDrawingObjectXldset_drawing_object_xld aktualisiert.

Ausführungsinformationen

Parameter

ContourContourContourcontourcontour (input_object)  xld_cont objectHXLDContHObjectHObjectHobject

XLD-Kontur.

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

Handle des Zeichenobjekts.

Ergebnis

set_drawing_object_xldset_drawing_object_xldSetDrawingObjectXldSetDrawingObjectXldset_drawing_object_xld gibt 2 ( H_MSG_TRUE) zurück, falls die DrawIDDrawIDDrawIDdrawIDdraw_id gültig ist und ContourContourContourcontourcontour eine Kontur ist. Gegebenenfalls wird eine Fehlerbehandlung durchgeführt.

Vorgänger

create_drawing_object_xldcreate_drawing_object_xldCreateDrawingObjectXldCreateDrawingObjectXldcreate_drawing_object_xld

Nachfolger

attach_drawing_object_to_windowattach_drawing_object_to_windowAttachDrawingObjectToWindowAttachDrawingObjectToWindowattach_drawing_object_to_window, clear_drawing_objectclear_drawing_objectClearDrawingObjectClearDrawingObjectclear_drawing_object

Alternativen

create_drawing_object_xldcreate_drawing_object_xldCreateDrawingObjectXldCreateDrawingObjectXldcreate_drawing_object_xld

Siehe auch

attach_drawing_object_to_windowattach_drawing_object_to_windowAttachDrawingObjectToWindowAttachDrawingObjectToWindowattach_drawing_object_to_window

Modul

Foundation