Image.captureWindow Method
Captures a window as an image, using the handle that is supplied as a parameter.
Syntax
public int captureWindow(int hWnd)
Run On
Client
Parameters
- hWnd
Type: int
The handle to the window that you want to capture which must be supplied as an integer.
Return Value
Type: int
0 indicates success; otherwise, failure.