Epson Net 5 사용자 설명서

다운로드
페이지 216
X2 Property 
 
X2 Property 
 
Applies To 
Vision Objects: Edge, Line 
 
Description 
Defines the X2 coordinate of an object where the (X2, Y2) coordinate pair defines the position of the 
starting point of the object.   
 
Usage 
VGet  Sequence.Object.X2, var 
VSet  Sequence.Object.X2, 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 
Integer variable that will contain the value of the property. 
value 
Integer expression for the new value of the property. 
 
Values 
Min: 0 
Max Video width - 1 
 
Remarks 
Line Object: 
The X2 property is used to locate horizontal position for the endpoint of a Line object.  This property is 
initially set to the ending point X position where the user drops a newly created Line object.  However, if a 
Point object is associated with another object in the sequence (i.e.  the EndPointType property is set to 
another vision object and not set to Screen), then the X2 property for the Line object is automatically 
modified according to the associated property. 
When the EndPointType property is set to Screen there are 2 methods which can be used to move the Line 
object: 
-  Click on the Line object's label and drag the object to the position you want to place it. 
-  Change the X1, Y1, X2, or Y2 coordinates. 
Edge Object: 
The X2 property is used to locate horizontal position for the ending point of an Edge object.  
 
See Also 
Edge Object, EndPointObject Property, EndPointType Property, Line Object, Object Tab, X1 Property, Y1 
Property, Y2 Property 
188 
Vision Guide 5.0 Reference (Ver.5.3) Rev.1