SrcClipLeft property (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

int SrcClipLeft

Delphi Syntax

SrcClipLeft:Integer

Overview

Refer to Displaying an Image.

Remarks

Is the X 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 pixels, and the position of the rectangle is relative to the origin of the bitmap.

See Also

Elements:

SrcClipHeight property, SrcClipTop property, SrcClipWidth property

Topics:

Raster Images: Displaying Images