Trim method (Main Control)

Visual Basic example
Visual C++ 4.0 example

Visual J++ example

Syntax short Trim (float fLeft, float fTop, float fWidth, float fHeight);

Overview:  Refer to Examining and Altering Bitmaps.

Remarks

Crops 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 cropped if necessary.

See Also

Topics:  Raster Images: Doing Geometric Transformations
Raster Images: Methods That Transform the Region and the Bitmap (Document/Medical only)