Gets or sets the vertical coordinate for the next printing or drawing method.
Read-write property
Visual Basic |
---|
Public Property CurrentY As Single |
A single value which represents the vertical coordinate for the next printing or drawing method.
Not available at design time. Coordinates are measured from the upper-left corner of an object. Initially, the CurrentY property setting is 0 at its top edge. Coordinates are expressed in twips, or the current unit of measurement defined by the ScaleMode property.
When you use the following text and graphics methods, the CurrentX and CurrentY settings are changed as indicated:
-
DrawArc — The end point of the arc.
-
DrawCircle — The center of the object.
-
DrawCurve — The end point of the curve.
-
DrawLine — The end point of the line.
-
EndPrintDoc — LMargin property, TMargin property.
-
NewPage — LMargin property, TMargin property.
-
PrintText — The next print position if the AddCR property is False or Margin and the next line if the AddCR property is True.