Epson Net 5 사용자 설명서

다운로드
페이지 216
 
ShowExtensions Property 
 
ShowExtensions Property 
 
Applies To 
Vision Objects: Line 
 
Description 
By default, Line objects display a line from a starting reference (defined by the StartPointObject property) 
to an ending reference (defined by the EndPointObject property).  The ShowExtensions property causes the 
graphics display of the line to be extended out (by using a dotted line to indicate the extensions) so you can 
see the complete projection of the line. 
 
Usage 
VGet  Sequence.Object.ShowExtensionsvar 
VSet  Sequence.Object.ShowExtensionsvalue 
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 
Boolean variable that will contain the value of the property. 
value 
Integer expression for the new value of the property. 
 
Values 
False 
Do not show line extensions 
True  
Show line extensions 
Default: False 
 
Remarks 
When a Line object is created, the default graphic display of the Line object is simply a line with a starting 
and ending point.  The StartPointObject and EndPointObject Properties can be used to modify the direction 
and length of the line but in some cases you may want to see where the line extends to.  This is the purpose 
of the ShowExtensions property.  
Extensions are useful when you need to see more than just a line between 2 points.  For example, assume 
you create a Line object perpendicular to another line and the point at which the 2 lines meet is not actually 
on the physical line but at some location extended from the line.  You can see this point of intersection by 
running your application with the ShowExtensions property set to True. 
 
See Also 
EndPointObject Property, Line Object, Object Tab, StartPointObject Property 
Vision Guide 5.0 Reference (Ver.5.3) Rev.1 
155