Capture method (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

int Capture (L_HDC hDevice, int iLeft, int iTop, int iWidth, int iHeight);

Delphi Syntax

Capture (hDevice: L_HDC; iLeft, iTop, iWidth, iHeight:Integer): Integer;

Overview

Refer to Capturing an Image from the Screen.

Remarks

Loads a bitmap from the specified rectangle within a device context.

Normally, this method is used for capturing images displayed on the screen. The resulting bitmap will have the same bits per pixel as the display device.

See Also

Topics:

Raster images: Capturing a screen image