SetRgnHandle method (Main Control)

Visual Basic example
Visual C++ 4.0 example

Visual J++ example

Syntax short SetRgnHandle (OLE_HANDLE hRgn, float fDx, float fDy, short iCombineMode);

Overview:  Refer to Creating and Using a Bitmap Region.

Remarks

Adds a stored region to the current bitmap region.

You can store a region using the GetRgnHandle method or the DeleteRgnHandle method. Keep in mind that the region data contains only positioning information, not the bitmap's pixel values.

With this method, you can either replace the current region or create a complex region by setting a flag that determines how the added region interacts with the existing region. For possible values, specified in the iCombineMode parameter, refer to Flags for Setting a Region.

See Also

Elements:  GetFloaterHandle method, GetRgnHandle method, DeleteRgnHandle method, FreeRgn method

Topics:  Raster Images: Creating and Using a Region