FloaterDstWidth property (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

int FloaterDstWidth

Delphi Syntax

FloaterDstWidth: Integer

Overview

Refer to Creating and Using a Bitmap Region.

Remarks

The width 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 the unscaled width of the floater bitmap. 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, FloaterDstTop property, FloaterDstClipHeight property, FloaterDstClipLeft property, FloaterDstClipTop property, FloaterDstClipWidth property

Topics:

Raster Images: Copying Images

 

Raster Images: Creating and Using a Region