IsPtInFloater method (ILEADRasterView)

Visual Basic example

Visual C++ 5.0 example

Delphi 4 example

C++ Builder example

 

Syntax

BOOL IsPtInFloater (float fx, float fy);

Overview

Refer to Creating and Using a Bitmap Region.

Remarks

Lets you see whether a point in the Raster View Control's client area is in the floater.

This method is commonly used in the MouseDown event to test whether the mouse click selects the floater. The coordinates of the point are relative to the Raster View Control's client area. The unit of measure is determined by the ScaleMode property. To avoid translating mouse position coordinates, set the scale mode to your development system's default (twips in Visual basic, pixels in C++).

A floater is an additional bitmap that is associated with the Raster View 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 Raster View Control's client area.

See Also

Elements:

Floater property, FloaterVisible property

Topics:

Raster Images: Copying Images

 

Raster Images: Creating and Using a Region