Partilhar via


Image.captureWindow(Int32) Method

Definition

Captures a window as an image, using the handle that is supplied as a parameter.

public:
 virtual int captureWindow(int _hWnd);
public virtual int captureWindow (int _hWnd);
abstract member captureWindow : int -> int
override this.captureWindow : int -> int
Public Overridable Function captureWindow (_hWnd As Integer) As Integer

Parameters

_hWnd
Int32

The handle to the window that you want to capture which must be supplied as an integer.

Returns

0 indicates success; otherwise, failure.

Applies to