ComponentOne VSView 8.0
X1 Property (VSPrinter)

Returns or sets the left coordinate of the rectangle used with the Draw property.

Syntax

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

Remarks

The X1, Y1, X2, and Y2 properties are used with other properties and methods:

1.   They define a rectangle used to position and size objects drawn with the Draw and Picture properties.

2.   They return a bounding box for elements measured with the CalcParagraph, CalcPicture, CalcTable, CalcText, and CalcTextRTF properties.

3.   They return the printable area of the page (discounting margins) after a call to the GetMargins method.

4.   They return the position of a tag or a string after a call to the FindTag and FindText properties.

In all cases, the coordinates used have their origin at the top left corner of the page. All values are returned in twips. When setting them, the default unit is also twips, but you may specify different units if you want. For details, see the Using Unit-Aware Properties topic.

Data Type

Variant

 

 


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

Product Support Forum  |  Documentation Feedback