AXSoft CaptureScreen - CaptureWindow

Description

Captures an image of a window with the specified handle.

 
Type

Function

 
Syntax

object.CaptureWindow(ByVal nHWnd As Long) As Picture

Parameter Type Description
nHWnd Long A handle of the window or object to capture
 
Return Type

Picture

 
Remarks

When capturing the image of a window, make sure that the window is visible on the screen, otherwise there will be a blank image