X Property
Applies To
Vision Object: Point
Description
Defines the X coordinate of a Point object.
Usage
VGet Sequence.Object.X, var
VSet Sequence.Object.X, value
- Sequence
- Name of a sequence or string variable containing a sequence name.
- Object
- Name of an object or string variable containing an object name. The object must exist in the specified sequence.
- var
- Real variable that will contain the value of the property.
- value
- Real number or expression for the new value of the property.
Values
Min: 0
Max Video width:- 1
Remarks
The X property is used to specify the horizontal position of the Point object in the image coordinate system. This property is initially set to the X coordinate where the user drops a newly created Point object. However, if a Point object is associated with another object in the sequence (i.e. the PointType property is set to another vision object and not set to 0-Screen), then the X property for the Point object is automatically modified according to the associated object.
When the PointType property is set to 0-Screen there are two methods which can be used to move the Point object:
- Click the Point object's label and drag the object to the position you want to place it.
- Change the X and Y properties for the Point object.
See Also
Point Object, Y Property
← X X1 Property →