SrcClipTop property (Main Control)

Visual Basic example
Visual C++ 4.0 example

Visual J++ example

Syntax float SrcClipTop

Overview:  Refer to Displaying an Image.

Remarks

Is the Y coordinate of the origin of the source clipping rectangle to use when painting.

The initial value is 0. You can set this property or use the SetSrcClipRect method to change the value.

The clipping rectangle specifies the portion of the source rectangle to paint. Generally, this rectangle is used for updating the display when part of the source bitmap has changed. 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:  SrcClipHeight property, SrcClipLeft property, SrcClipWidth property

Topics:  Raster Images: Displaying Images