SrcHeight property (Main Control)

Visual Basic example
Visual C++ 4.0 example

Access 2.0 example

Access 95, 97 example
Visual J++ example

Syntax float SrcHeight

Overview:  Refer to Displaying an Image.

Remarks

Is the height of the source rectangle to use when painting.

The initial value is the height of the bitmap. You can set this property or use the SetSrcRect method to change the value.

The source rectangle specifies the portion of the bitmap to paint. Generally, this rectangle is used with the destination rectangle to scale the display. The unit of measure is determined by the ScaleMode property, and the position of the rectangle is relative to the origin of the bitmap.

See Also

Elements:  SrcLeft property, SrcTop property, SrcWidth property

Topics:  Raster Images: Displaying Images