Available in the LEADTOOLS Imaging toolkit. |
IsPtInFloater method (Main Control)
Visual Basic
example
Visual
C++ 4.0 example
Access 2.0 example
Access
95, 97 example
Visual
J++ 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 Main 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 Main 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 Main 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 Main Control's client area.
See Also
Elements: Floater property, FloaterVisible property
Topics: Raster
Images: Copying Images
Raster Images: Creating and Using a Region