Capture method (ILEADRaster)

Visual Basic example

Visual C++ 5.0 example

Delphi 4 example

C++ Builder example

 

Syntax

short Capture (long hDC, float fLeft, float fTop, float fWidth, float fHeight);

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

Elements:

ZoomIn method, ZoomInDone event, EnableZoomInRect property

Topics:

Raster images: Capturing a screen image