ShapeWidth property (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

int ShapeWidth

Delphi Syntax

ShapeWidth: Integer

Overview

Refer to Drawing Three-Dimensional Shapes and Text.

Remarks

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

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