ComponentOne VSView 8.0
ScaleLeft Property

Returns or sets the horizontal coordinate for the left edge of the drawing.

Syntax

[form!]VSDraw.ScaleLeft[ = value As Double ]

Remarks

All drawing on the VSDraw control is done in an arbitrary coordinate system, determined by the ScaleWidth, ScaleHeight, ScaleLeft and ScaleTop properties.

For example, the following code sets the origin of the coordinate system to the center of the control, regardless of its physical dimensions:

vsDraw.ScaleLeft = -vsDraw.ScaleWidth / 2

vsDraw.ScaleTop = -vsDraw.ScaleHeight / 2

For more details and a diagram, see the ScaleHeight property.

Note: All scaling properties must be in the range from -32,768 to 32,767. This is a limitation imposed by Windows metafiles.

Data Type

Double

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback