SetDstClipRect method (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

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

Delphi Syntax

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

Overview

Refer to Displaying an Image.

Remarks

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

The clipping rectangle specifies the portion of the display rectangle to paint. Generally, this is used for updating changes in the display surface, such as when a user moves another window, uncovering a part of the image that had been covered up.

See Also

Elements:

SetDstRect method, SetSrcClipRect method, SetSrcRect method

Topics:

Raster Images: Displaying Images