ShapeTop property (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

int ShapeTop

Delphi Syntax

ShapeTop: Integer

Overview

Refer to Drawing Three-Dimensional Shapes and Text.

Remarks

(Persistent property, available at design time) Specifies the Y coordinate of the origin 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.

(Persistent property, available at design time) Whether you draw to the screen or to the bitmap, shapes are always positioned in the Main Control's client area. If the target is the bitmap, LEADTOOLS translates the values to bitmap coordinates. The unit of measure is pixels.

See Also

Elements:

DrawShape method

Topics:

Raster Images: Drawing on a Bitmap

 

Working with the Control: Client Area Usage