KlassenKlassenKlassenKlassen | | | | Operatoren

get_window_background_imageget_window_background_imageGetWindowBackgroundImageget_window_background_imageGetWindowBackgroundImageGetWindowBackgroundImage (Operator)

Name

get_window_background_imageget_window_background_imageGetWindowBackgroundImageget_window_background_imageGetWindowBackgroundImageGetWindowBackgroundImage — Kopieren des Hintergrundbildes des Fensters.

Signatur

get_window_background_image( : BackgroundImage : WindowHandle : )

Herror get_window_background_image(Hobject* BackgroundImage, const Hlong WindowHandle)

Herror T_get_window_background_image(Hobject* BackgroundImage, const Htuple WindowHandle)

Herror get_window_background_image(Hobject* BackgroundImage, const HTuple& WindowHandle)

HImage HWindow::GetWindowBackgroundImage() const

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

HImage HWindow::GetWindowBackgroundImage() const

void HOperatorSetX.GetWindowBackgroundImage(
[out] IHUntypedObjectX*BackgroundImage, [in] VARIANT WindowHandle)

IHImageX* HWindowX.GetWindowBackgroundImage()

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

HImage HWindow.GetWindowBackgroundImage()

Beschreibung

get_window_background_imageget_window_background_imageGetWindowBackgroundImageget_window_background_imageGetWindowBackgroundImageGetWindowBackgroundImage gibt eine Kopie des Hintergrundbildes des HALCON-Fensters WindowHandleWindowHandleWindowHandleWindowHandleWindowHandlewindowHandle in BackgroundImageBackgroundImageBackgroundImageBackgroundImageBackgroundImagebackgroundImage 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_callbackSetDrawingObjectCallbackset_drawing_object_callbackSetDrawingObjectCallbackSetDrawingObjectCallback für weitere Details.

Parallelisierung

Parameter

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

Kopie des Hintergrundbildes.

WindowHandleWindowHandleWindowHandleWindowHandleWindowHandlewindowHandle (input_control)  window HWindow, HTupleHTupleHTupleHWindowX, VARIANTHtuple (integer) (IntPtr) (Hlong) (Hlong) (Hlong) (Hlong)

Fenster-Handle.

Ergebnis

get_window_background_imageget_window_background_imageGetWindowBackgroundImageget_window_background_imageGetWindowBackgroundImageGetWindowBackgroundImage 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_windowAttachBackgroundToWindowattach_background_to_windowAttachBackgroundToWindowAttachBackgroundToWindow

Nachfolger

close_windowclose_windowCloseWindowclose_windowCloseWindowCloseWindow, detach_background_from_windowdetach_background_from_windowDetachBackgroundFromWindowdetach_background_from_windowDetachBackgroundFromWindowDetachBackgroundFromWindow, attach_drawing_object_to_windowattach_drawing_object_to_windowAttachDrawingObjectToWindowattach_drawing_object_to_windowAttachDrawingObjectToWindowAttachDrawingObjectToWindow

Siehe auch

attach_background_to_windowattach_background_to_windowAttachBackgroundToWindowattach_background_to_windowAttachBackgroundToWindowAttachBackgroundToWindow, detach_drawing_object_from_windowdetach_drawing_object_from_windowDetachDrawingObjectFromWindowdetach_drawing_object_from_windowDetachDrawingObjectFromWindowDetachDrawingObjectFromWindow

Modul

Foundation


KlassenKlassenKlassenKlassen | | | | Operatoren