GetRgnHandle method (Main Control)

Visual Basic example
Visual C++ 4.0 example

Access 2.0 example

Access 95, 97 example
Visual J++ example

Syntax OLE_HANDLE 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