ZoomIn method (ILEADRasterView)

Visual Basic example

Visual C++ 5.0 example

Delphi 4 example

C++ Builder example

 

Syntax

short ZoomIn ();

Overview

Refer to Capturing an Image from the Screen.

Remarks

Changes the mouse pointer to a magnifying glass in the center of a rectangle and begins a "ZoomIn" screen capture. When the user moves the mouse pointer, the area inside the "ZoomIn" rectangle is captured to the Raster View Control and zoomed by the amount specified in the PaintZoomFactor property.

The initial size of the zoom rectangle is based on the size of the control and the existing PaintZoomFactor property at the time ZoomIn is called. During the capture, pressing the +,- or PageUp, PageDown keys will adjust the ZoomIn rectangle and zoom factor. Once the left mouse button is clicked, the capture is completed, the image is stored in the Raster View Control's Bitmap, and the ZoomInDone event is generated.

There is one property associated with this method. The EnableZoomInRect property determines whether or not to show the ZoomIn rectangle.

See Also

Elements:

ZoomInDone event, Capture method, EnableZoomInRect property

Topics:

Raster images: Capturing a screen image