Control Reference > VSPrinter Control > VSPrinter Properties > CurrentY Property |
Returns or sets the vertical position of the cursor, in twips from the top of the page.
[form!]VSPrinter.CurrentY[ = value As Variant ]
As text is printed, the CurrentX and CurrentY properties change to reflect the new cursor position. You may modify these properties directly if you want to set the cursor at a specific position on the page.
These properties are similar to the standard CurrentX and CurrentY properties available in VB's PictureBox control and Printer object.
You may specify units with this value (inches, points, twips, cm, mm, or pixels). The default unit is twips. For details on using unit-aware measurements, see the Using Unit-Aware Properties topic.
Variant