NumberOfModels Property

Runtime Only

Applies To
Vision Objects: ColorMatch, ImageOp

Description
Gets / sets the number of models used by the object.

Usage

VGet  Sequence.Object.NumberOfModels, var
VSet  Sequence.Object.NumberOfModels, 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 value or expression for the new value of the property.

Values
The number of models defined for the object.

Remarks
The NumberOfModels property is used at runtime to set the number of models for a ColorMatch or ImageOp object. After setting NumberOfModels, you can use CurrentModel and VTeach to teach each color model.

See Also
CurrentModel Property, ColorMatch Object, ImageOp Object, VTeach