ComponentOne VSView 8.0
CurrentY Property

Returns or sets the vertical position of the cursor, in twips from the top of the page.

Syntax

[form!]VSPrinter.CurrentY[ = value As Variant ]

Remarks

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.

Data Type

Variant

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback