CurrentY

This property returns and sets the vertical coordinate for the next drawing method.

Syntax

object.CurrentY [= y]

Parameters

object
Object expression that evaluates to an object.
y
Number that specifies the vertical coordinate.

Remarks

The CurrentY property is unavailable at design time.

Coordinates are measured from the upper-left corner of an object. The CurrentY property setting is 0 at its top edge. Coordinates are expressed in twips or the current unit of measurement defined by the ScaleHeight, ScaleWidth, ScaleLeft, ScaleTop, and ScaleMode properties.

The following table shows how you can use graphics methods to change the settings of CurrentY.

Method
CurrentY Setting
DrawCircle Center of the object
Cls 0, 0
DrawLine End point of the line
PointSet Point drawn