Xbasic

WINDOW_TO_IMAGE Function

Syntax

Result_Flag as N = WINDOW_TO_IMAGE( Window_Name as C, Type as C )

Arguments

Result_Flag
Window_Name

The title bar text of an open window.

Type

The format of the image file.

Description

The WINDOW_TO_IMAGE() function captures the image of an open window to a JPEG or BMP file.

Example

? Window_to_Image("Alpha Anywhere","B")
= 0

See Also