FloaterDstTop property (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

int FloaterDstTop

Delphi Syntax

FloaterDstTop: Integer

Overview

Refer to Creating and Using a Bitmap Region.

Remarks

The Y coordinate of the origin of the destination 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 SetFloaterDstRect method to change the value.

The position of the rectangle is relative to the Main Control's client area.

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, FloaterDstWidth property, FloaterDstClipHeight property, FloaterDstClipLeft property, FloaterDstClipTop property, FloaterDstClipWidth property

Topics:

Raster Images: Copying Images

 

Raster Images: Creating and Using a Region