SetSrcRect method (Main Control)

Visual Basic example
Visual C++ 4.0 example

Access 2.0 example

Access 95, 97 example
Visual J++ example

Syntax short SetSrcRect (float fLeft, float fTop, float fWidth, float fHeight);

Overview:  Refer to Displaying an Image.

Remarks

Sets the source rectangle that is used when painting an image.

The source rectangle specifies the part of the bitmap to use as the display source.

See Also

Elements:  SetDstClipRect method, SetDstRect method, SetSrcClipRect method

Topics:  Raster Images: Displaying Images