FloaterDstClipTop property (Main Control)

Visual Basic example
Visual C++ 4.0 example

Visual J++ example

Syntax float FloaterDstClipTop

Overview:  Refer to Creating and Using a Bitmap Region.

Remarks

The Y coordinate of the origin of the destination clipping rectangle used when painting the Main Control's floater bitmap.

If the AutoSetRects property is set to True, the initial value of this property is 0. You can set this property or use the more-efficient SetFloaterDstClipRect method to change the value.

The position of the rectangle is relative to the Main Control's client area. The unit of measure is determined by the ScaleMode property.

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:  FloaterDstHeight property, FloaterDstLeft property, FloaterDstTop property, FloaterDstWidth property, FloaterDstClipHeight property, FloaterDstClipLeft property, FloaterDstClipWidth property

Topics:  Raster Images: Copying Images
Raster Images: Creating and Using a Region