FloaterDstClipWidth property (Main Control)

Visual Basic example
Visual C++ 4.0 example

Visual J++ example

Syntax float FloaterDstClipWidth

Overview:  Refer to Creating and Using a Bitmap Region.

Remarks

The width 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 the height of the Main Control's client area. 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, FloaterDstClipTop property

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