CurrentY Property

Object List Next Object

Defined By:
Form

Description:

Determines the vertical coordinate where the next drawing method will begin. In combination with the CurrentX property it determines the location of an object.

Details:

The Y coordinate is measured from the upper left corner (0,0) of an object and is usually expressed in twips. It can also be expressed in the scale defined by the ScaleHeight, ScaleWidth, ScaleLeft, ScaleTop, and ScaleMode properties of the container.

This value can be set to affect the next output method, or can be used after the method completes to determine the extent of the output method. Each time something is drawn on a Drawable (PictureBox), the values held in CurrentX and CurrentY change. For example, the Cls method resets the coordinates in the container to 0, 0.

Data Type: Single

See Also:

Cls method; DrawStyle property; Left, Top properties; LineTo method; ScaleHeight, ScaleWidth properties; ScaleLeft, ScaleTop properties; ScaleMode properties