ClassesClasses | | Operators

detach_background_from_windowT_detach_background_from_windowDetachBackgroundFromWindowDetachBackgroundFromWindow (Operator)

Name

detach_background_from_windowT_detach_background_from_windowDetachBackgroundFromWindowDetachBackgroundFromWindow — Detach the background image from a HALCON window.

Signature

detach_background_from_window( : : WindowHandle : )

Herror T_detach_background_from_window(const Htuple WindowHandle)

void DetachBackgroundFromWindow(const HTuple& WindowHandle)

void HWindow::DetachBackgroundFromWindow() const

static void HDrawingObject::DetachBackgroundFromWindow(const HWindow& WindowHandle)

static void HOperatorSet.DetachBackgroundFromWindow(HTuple windowHandle)

void HWindow.DetachBackgroundFromWindow()

static void HDrawingObject.DetachBackgroundFromWindow(HWindow windowHandle)

Description

This operator detaches the background image that was previously attached with attach_background_to_windowattach_background_to_windowAttachBackgroundToWindowAttachBackgroundToWindowAttachBackgroundToWindow from the HALCON window defined in WindowHandleWindowHandleWindowHandleWindowHandlewindowHandle. Thus the background of the window will be cleared.

Execution Information

Parameters

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

Window handle.

Result

If the window exists and the specified parameters are correct detach_background_from_windowdetach_background_from_windowDetachBackgroundFromWindowDetachBackgroundFromWindowDetachBackgroundFromWindow returns 2 (H_MSG_TRUE). If necessary an exception is raised.

Possible Predecessors

attach_background_to_windowattach_background_to_windowAttachBackgroundToWindowAttachBackgroundToWindowAttachBackgroundToWindow

Module

Foundation


ClassesClasses | | Operators