get_window_background_imageT_get_window_background_imageGetWindowBackgroundImageGetWindowBackgroundImageget_window_background_image (Operator)

Name

get_window_background_imageT_get_window_background_imageGetWindowBackgroundImageGetWindowBackgroundImageget_window_background_image — Kopieren des Hintergrundbildes des Fensters.

Signatur

get_window_background_image( : BackgroundImage : WindowHandle : )

Herror T_get_window_background_image(Hobject* BackgroundImage, const Htuple WindowHandle)

void GetWindowBackgroundImage(HObject* BackgroundImage, const HTuple& WindowHandle)

HImage HWindow::GetWindowBackgroundImage() const

static void HOperatorSet.GetWindowBackgroundImage(out HObject backgroundImage, HTuple windowHandle)

HImage HWindow.GetWindowBackgroundImage()

def get_window_background_image(window_handle: HHandle) -> HObject

Beschreibung

get_window_background_imageget_window_background_imageGetWindowBackgroundImageGetWindowBackgroundImageget_window_background_image gibt eine Kopie des Hintergrundbildes des HALCON-Fensters WindowHandleWindowHandleWindowHandlewindowHandlewindow_handle in BackgroundImageBackgroundImageBackgroundImagebackgroundImagebackground_image zurück. Der Operator ist vor allem sinnvoll, wenn man in Rückruffunktionen eines Zeichenobjektes mit dem Hintergrundbild arbeiten möchte. Siehe set_drawing_object_callbackset_drawing_object_callbackSetDrawingObjectCallbackSetDrawingObjectCallbackset_drawing_object_callback für weitere Details.

Ausführungsinformationen

Parameter

BackgroundImageBackgroundImageBackgroundImagebackgroundImagebackground_image (output_object)  (multichannel-)image objectHImageHObjectHObjectHobject * (byte / direction / cyclic / int1 / int2 / uint2 / int4 / int8 / real / complex / vector_field)

Kopie des Hintergrundbildes.

WindowHandleWindowHandleWindowHandlewindowHandlewindow_handle (input_control)  window HWindow, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Fenster-Handle.

Ergebnis

get_window_background_imageget_window_background_imageGetWindowBackgroundImageGetWindowBackgroundImageget_window_background_image liefert den Wert 2 ( H_MSG_TRUE) , falls das Fenster gültig ist. Ansonsten wird eine Fehlerbehandlung durchgeführt.

Vorgänger

attach_background_to_windowattach_background_to_windowAttachBackgroundToWindowAttachBackgroundToWindowattach_background_to_window

Nachfolger

close_windowclose_windowCloseWindowCloseWindowclose_window, detach_background_from_windowdetach_background_from_windowDetachBackgroundFromWindowDetachBackgroundFromWindowdetach_background_from_window, attach_drawing_object_to_windowattach_drawing_object_to_windowAttachDrawingObjectToWindowAttachDrawingObjectToWindowattach_drawing_object_to_window

Siehe auch

attach_background_to_windowattach_background_to_windowAttachBackgroundToWindowAttachBackgroundToWindowattach_background_to_window, detach_drawing_object_from_windowdetach_drawing_object_from_windowDetachDrawingObjectFromWindowDetachDrawingObjectFromWindowdetach_drawing_object_from_window

Modul

Foundation