Desktop Application Object - CaptureWindow Method
Capture a bitmap screen print of a window as a file
Member of Desktop Application Object (PRIM_APPL)
Parameters
Name | Type | Data Type | Description |
|---|---|---|---|
Result | *Result (Optional) | Boolean | Returns True if the file was created |
FileName | *Input | String | File name of the bitmap image |
Control | *Input (Optional) | Reference to the control image to capture |
Details
The CaptureWindow method is used to capture a screen print of the Windows desktop.
The Control parameter allows a specific window to be specified.
The image is saved as the file specified in the FileName parameter.