ColorIndex Result

Applies To
Vision Objects: ColorMatch

Description
Returns the index of the color model found to be the best match.

Usage

VGet  Sequence.Object.ColorIndex [(result)], var
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.
result
Optional integer result number from 1 to the NumberOfResults property. If omitted, the result number is the CurrentResult.

Values
Index of the matched color model.

Remarks
The ColorIndex result is the index of the matched color model.

The name given to the color model of the best matched model can be acquired from the ColorName result.

See Also
ColorMatch Object, ColorName Result, ColorValue Result