Epson Net 5 사용자 설명서

다운로드
페이지 216
ModelWinWidth Property 
 
ModelWinWidth Property 
 
Applies To 
Vision Objects: Correlation, Geometric 
 
Description 
Defines the width of a model window. 
 
Usage 
VGet  Sequence.Object.ModelWinWidthvar 
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. 
 
Values 
Integer number in pixels 
Default: 50   
 
Remarks 
The model window always fits inside the search window.  
The ModelWinWidth property is set automatically when the user drags the entire model window to a new 
location or when one of the horizontal sides of the model window is dragged to resize the model window. 
Keep in mind that larger model windows cause the taught Model to be larger, which in turn may cause the 
execution time to increase. 
The ModelWinWidth property is available from both the Vision Guide window Object tab and from the 
SPEL
+
 Language.  The easiest way to set the ModelWinWidth value is to simply click on the left or right 
vertical side of the model window and then drag the model window to a new position.  The 
ModelWinWidth property will be set automatically.  
You can also click on the left or right vertical side of the model window at the center of the vertical line 
where the window handle is (the small square on the upper horizontal side of the Model window).  You 
will see the mouse pointer change to a two direction horizontal arrow.  Now drag the  side of the model 
window and you will see the of the model change in width.  Release the mouse button when you want to set 
the position. 
It is also possible to set a specific value for the ModelWinWidth property.  Click on the ModelWinWidth 
property Value Field and simply enter in the value which you would like to set the ModelWinWidth 
property to.  Once the user moves the cursor off the value field, the uppermost position of the model 
window will be adjusted for the associated vision object.  Note that the additional width is added to the 
right side of the model window.  This is because the left most position of the model window is fixed 
according to the ModelWinLeft property. 
 
86 
Vision Guide 5.0 Reference (Ver.5.3) Rev.1