ClassesClassesClassesClasses | | | | Operators

dump_window_imagedump_window_imageDumpWindowImagedump_window_imageDumpWindowImageDumpWindowImage (Operator)

Name

dump_window_imagedump_window_imageDumpWindowImagedump_window_imageDumpWindowImageDumpWindowImage — Write the window content in an image object.

Signature

dump_window_image( : Image : WindowHandle : )

Herror dump_window_image(Hobject* Image, const Hlong WindowHandle)

Herror T_dump_window_image(Hobject* Image, const Htuple WindowHandle)

Herror dump_window_image(Hobject* Image, const HTuple& WindowHandle)

HImage HWindow::DumpWindowImage() const

void DumpWindowImage(HObject* Image, const HTuple& WindowHandle)

void HImage::DumpWindowImage(const HWindow& WindowHandle)

HImage HWindow::DumpWindowImage() const

void HOperatorSetX.DumpWindowImage(
[out] IHUntypedObjectX*Image, [in] VARIANT WindowHandle)

void HImageX.DumpWindowImage([in] IHWindowX* WindowHandle)

IHImageX* HWindowX.DumpWindowImage()

static void HOperatorSet.DumpWindowImage(out HObject image, HTuple windowHandle)

void HImage.DumpWindowImage(HWindow windowHandle)

HImage HWindow.DumpWindowImage()

Description

dump_window_imagedump_window_imageDumpWindowImagedump_window_imageDumpWindowImageDumpWindowImage writes the content of the graphics window (WindowHandleWindowHandleWindowHandleWindowHandleWindowHandlewindowHandle) in an image (ImageImageImageImageImageimage). To transform gray values the current color table of the window is used, i.e., the values of set_lut_styleset_lut_styleSetLutStyleset_lut_styleSetLutStyleSetLutStyle remain unconsidered.

Attention

Under Unix-like systems, the graphics window must be completely visible on the root window, because otherwise the contents of the window cannot be read due to limitations in X Windows.

Parallelization

Parameters

ImageImageImageImageImageimage (output_object)  image objectHImageHImageHImageHImageXHobject * (byte)

Saved image.

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

Window identifier.

Result

If the window is valid dump_window_imagedump_window_imageDumpWindowImagedump_window_imageDumpWindowImageDumpWindowImage returns 2 (H_MSG_TRUE). If necessary an exception is raised.

Possible Predecessors

open_windowopen_windowOpenWindowopen_windowOpenWindowOpenWindow, set_drawset_drawSetDrawset_drawSetDrawSetDraw, set_colorset_colorSetColorset_colorSetColorSetColor, set_coloredset_coloredSetColoredset_coloredSetColoredSetColored, set_line_widthset_line_widthSetLineWidthset_line_widthSetLineWidthSetLineWidth, open_textwindowopen_textwindowOpenTextwindowopen_textwindowOpenTextwindowOpenTextwindow, disp_regiondisp_regionDispRegiondisp_regionDispRegionDispRegion

See also

open_windowopen_windowOpenWindowopen_windowOpenWindowOpenWindow, open_textwindowopen_textwindowOpenTextwindowopen_textwindowOpenTextwindowOpenTextwindow, set_systemset_systemSetSystemset_systemSetSystemSetSystem, dump_windowdump_windowDumpWindowdump_windowDumpWindowDumpWindow

Module

Foundation


ClassesClassesClassesClasses | | | | Operators