get_window_background_imageT_get_window_background_imageGetWindowBackgroundImageGetWindowBackgroundImage (Operator)

Name

get_window_background_imageT_get_window_background_imageGetWindowBackgroundImageGetWindowBackgroundImage — 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()

Beschreibung

get_window_background_imageget_window_background_imageGetWindowBackgroundImageGetWindowBackgroundImageGetWindowBackgroundImage gibt eine Kopie des Hintergrundbildes des HALCON-Fensters WindowHandleWindowHandleWindowHandleWindowHandlewindowHandle in BackgroundImageBackgroundImageBackgroundImageBackgroundImagebackgroundImage zurück. Der Operator ist vor allem sinnvoll, wenn man in Rückruffunktionen eines Zeichenobjektes mit dem Hintergundsbild arbeiten möchte. Siehe set_drawing_object_callbackset_drawing_object_callbackSetDrawingObjectCallbackSetDrawingObjectCallbackSetDrawingObjectCallback für weitere Details.

Ausführungsinformationen

Parameter

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

Kopie des Hintergrundbildes.

WindowHandleWindowHandleWindowHandleWindowHandlewindowHandle (input_control)  window HWindow, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Fenster-Handle.

Ergebnis

get_window_background_imageget_window_background_imageGetWindowBackgroundImageGetWindowBackgroundImageGetWindowBackgroundImage 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_windowAttachBackgroundToWindowAttachBackgroundToWindowAttachBackgroundToWindow

Nachfolger

close_windowclose_windowCloseWindowCloseWindowCloseWindow, detach_background_from_windowdetach_background_from_windowDetachBackgroundFromWindowDetachBackgroundFromWindowDetachBackgroundFromWindow, attach_drawing_object_to_windowattach_drawing_object_to_windowAttachDrawingObjectToWindowAttachDrawingObjectToWindowAttachDrawingObjectToWindow

Siehe auch

attach_background_to_windowattach_background_to_windowAttachBackgroundToWindowAttachBackgroundToWindowAttachBackgroundToWindow, detach_drawing_object_from_windowdetach_drawing_object_from_windowDetachDrawingObjectFromWindowDetachDrawingObjectFromWindowDetachDrawingObjectFromWindow

Modul

Foundation