GetRgnHandle method (ILEADRaster)

Visual Basic example

Visual C++ 5.0 example

Delphi 4 example

C++ Builder example

 

Syntax

long GetRgnHandle ();

Overview

Refer to Creating and Using a Bitmap Region.

Remarks

Stores a copy of the bitmap's region and returns a Windows region handle that you can use to retrieve or delete the stored region.

Keep in mind that the region data contains only positioning information relative to the LEAD bitmap in memory, not the bitmap's pixel values.

To retrieve the stored region and add it to the bitmap, use the SetRgnHandle method. To delete the stored region, use the DeleteRgnHandle method.

See Also

Elements:

GetFloaterHandle method, DeleteRgnHandle method, FreeRgn method, SetRgnHandle method

Topics:

Raster Images: Creating and Using a Region