FloaterDstWidth property (Main Control)

Visual Basic example
Visual C++ 4.0 example

Access 2.0 example

Access 95, 97 example
Visual J++ example

Syntax float FloaterDstWidth

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

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