Trim method (ILEADRasterProcess)

Visual Basic example

Visual C++ 5.0 example

Delphi 4 example

C++ Builder example

 

Syntax

short Trim (ILEADRaster* pRaster, 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)