BackgroundImageLeft property (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

int BackgroundImageLeft

Delphi Syntax

BackgroundImageLeft: Integer

Overview

Refer to Drawing Three-Dimensional Shapes and Text.

Remarks

(Persistent property, available at design time) Specifies the X coordinate of the origin 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 pixels, and the position of the rectangle is relative to the origin of the bitmap.

See Also

Elements:

DrawShape method, ShapeBackgroundStyle property, BackgroundImageTop property, BackgroundImageWidth property, BackgroundImageHeight property

Topics:

Raster Images: Drawing on a Bitmap

 

Working with the Control: Client Area Usage