Trim method (Main Control)

Visual Basic example
Visual C++ 4.0 example

Access 2.0 example

Access 95, 97 example
Visual J++ example

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

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 (Document/Medical only)