SetRgnHandle method (ILEADRaster)

Visual Basic example

Visual C++ 5.0 example

Delphi 4 example

C++ Builder example

 

Syntax

short SetRgnHandle (long hRgn, float fDx, float fDy, RgnCombineModeConstants CombineMode);

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 CombineMode 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