DeleteRgnHandle method (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

bool DeleteRgnHandle (L_HRGN hRegion);

Delphi Syntax

DeleteRgnHandle (hRegion: L_HRGN): Boolean;

Overview

Refer to Creating and Using a Bitmap Region.

Remarks

Deletes a stored region and frees the memory that was required for it.

To store a region, use the GetRgnHandle method

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

See Also

Elements:

GetRgnHandle method, FreeRgn method, SetRgnHandle method

Topics:

Raster Images: Creating and Using a Region