SetSrcClipRect method (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

int SetSrcClipRect (int iLeft, int iTop, int iWidth, int iHeight);

Delphi Syntax

SetSrcClipRect (iLeft, iTop, iWidth, iHeight: Integer): Integer;

Overview

Refer to Displaying an Image.

Remarks

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

The clipping rectangle specifies the portion of the source rectangle to paint. This is used for updating the display when part of the source bitmap has changed.

See Also

Elements:

SetDstClipRect method, SetDstRect method, SetSrcRect method

Topics:

Raster Images: Displaying Images