Capture method (Main Control)

Visual Basic example
Visual C++ 4.0 example

Visual J++ example

Syntax short Capture (OLE_HANDLE 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