BackgroundImageHeight property (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

int BackgroundImageHeight

Delphi Syntax

BackgroundImageHeight: Integer

Overview

Refer to Drawing Three-Dimensional Shapes and Text.

Remarks

(Persistent property, available at design time) Specifies the height 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, BackgroundImageLeft property, BackgroundImageTop property, BackgroundImageWidth property

Topics:

Raster Images: Drawing on a Bitmap

 

Working with the Control: Client Area Usage