Trim method (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

int Trim (int nLeft, int nTop, int nWidth, int nHeight);

Delphi Syntax

Trim (nLeft, nTop, nWidth, nHeight:Integer): Integer;

Overview

Refer to Examining and Altering Bitmaps.

Remarks

Trims the bitmap, resulting in a bitmap that is the size of the specified rectangle.
If a region is defined for the bitmap, the region is also trimmed if necessary.

See Also

Topics:

Raster Images: Doing Geometric Transformations

 

Raster Images: Methods That Transform the Region and the Bitmap