Floater property (ILEADRasterView)

Visual Basic example

Visual C++ 5.0 example

Delphi 4 example

C++ Builder example

 

Syntax

long Floater

Overview

Refer to Creating and Using a Bitmap Region.

Remarks

Specifies the floater bitmap for the LEAD RasterView control.

A floater is an additional bitmap that is associated with the LEAD RasterView control. Its common application is to implement the interactive visual aspects of an outline-drag-and-paste operation. You use it to get a copy of the image in the current bitmap region, which the user can drag to another position in the LEAD RasterView control's client area.

You can create the floater bitmap by assigning the LEAD RasterView control's ILEADRaster Bitmap property to it. The floater bitmap that this creates is the size of the bounding rectangle of the main bitmap's region, and it contains the same region as the main bitmap.

You can also make a copy of the floater bitmap by assigning it to another ILEADRaster object's Bitmap property.

See Also

Elements:

FloaterVisible property, IsPtInFloater method

Topics:

Raster Images: Copying Images

 

Raster Images: Creating and Using a Region