ModelWin Property
ModelWin Property
Runtime only
Applies To
Vision Objects: Correlation, Geometric
Description
Defines the position and size of the model window for Correlation and Geometric objects.
Usage
VGet Sequence.Object.ModelWin, LeftVar, TopVar, WidthVar, HeightVar
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.
LeftVar Integer variable representing the leftmost position of the model window (in Pixels).
TopVar Integer variable representing the uppermost position of the model window (in Pixels).
WidthVar Integer variable representing the width of the model window (in Pixels).
HeightVar Integer variable representing the height of the model window (in Pixels).
Values
All Values are in Pixels. See the ModelWinTop, ModelWinLeft, ModelWinWidth, and ModelWinHeight
Properties for exact value data.
Remarks
The ModelWin property was added to provide easy access to the ModelWinTop, ModelWinLeft,
ModelWinWidth and ModelWinHeight Properties from the SPEL+ Language. The ModelWin property
allows the setting of all 4 Properties. There are cases where the user may want to define the position and
size of the model window dynamically and for that reason the ModelWin property was created.
The ModelWin property can be applied to the Correlation and Geometric objects. Each of these object
types have rectangular model windows used to define the position and size of the Model.
See Also
Correlation Object, Geometric Object, ModelWinHeight Property, ModelWinLeft Property, ModelWinTop
Property, ModelWinWidth Property, Object Tab
82 Vision Guide 5.0 Reference (Ver.5.3) Rev.1