SrcClipWidth property (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

int SrcClipWidth

Delphi Syntax

SrcClipWidth:Integer

Overview

Refer to Displaying an Image.

Remarks

Is the width of the source clipping rectangle to use when painting.

The initial value is the width of the bitmap. 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, SrcClipLeft property, SrcClipTop property

Topics:

Raster Images: Displaying Images