BackgroundImageWidth property (Main Control)

Visual Basic example
Visual C++ 4.0 example

Visual J++ example

Syntax float BackgroundImageWidth

Overview:  Refer to Drawing Three-Dimensional Shapes and Text.

Remarks

(Persistent property, available at design time) Specifies the width of the source rectangle that defines which part of a bitmap to use for the background of a three-dimensional shape that you draw with the DrawShape method. The size, position, and other aspects of the shape are determined by a number of properties, as explained in Drawing Three-Dimensional Shapes and Text.

The unit of measure is determined by the ScaleMode property, and the position of the rectangle is relative to the origin of the bitmap.

See Also

Elements:  DrawShape method, ShapeBackgroundStyle property, BackgroundImageLeft property, BackgroundImageTop property, BackgroundImageHeight property

Topics:  Raster Images: Drawing on a Bitmap
Working with the Control: Client Area Usage