ScaleTop

This property returns and sets the vertical coordinates for the top edge of an object. Use this property in conjunction with graphics methods or with the positioning of controls.

Syntax

object.ScaleTop [= value]

Parameters

object
Object expression that evaluates to a PictureBox control or Form object.
value
Numeric expression that specifies the horizontal or vertical coordinate. The default is 0.

Remarks

Using this property and the related ScaleLeft, ScaleHeight and ScaleWidth properties, you can set up a full coordinate system with both positive and negative coordinates. These four Scale properties interact with the ScaleMode property in the following ways:

You can also use the Scale method to set the ScaleHeight, ScaleWidth, ScaleLeft, and ScaleTop properties in one statement.

The ScaleLeft and ScaleTop properties are not the same as the Left and Top properties.