Desktop Application Object - CaptureWindow Method

Capture a bitmap screen print of a window as a file

Member of Desktop Application Object (PRIM_APPL)

Parameters

NameTypeData TypeDescription
Result*Result (Optional)BooleanReturns True if the file was created
FileName*InputStringFile name of the bitmap image
Control*Input (Optional)PRIM_CTRLReference 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.

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2