MaxLength Property

Applies To
Vision Objects: Line

Description
Defines the upper length limit for the Line object. For a Line to be found it must have a Length result shorter than the value set for MaxLength property.

Usage

VGet  Sequence.Object.MaxLength, var
VSet  Sequence.Object.MaxLength , 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
Real variable that will contain the value of the property.
value
Real number or expression for the new value of the property.

Values
0 or higher (Unit: mm)

Default: 9999

Remarks
The MinLength and MaxLength Properties set a range of length of lines to be found for the Line object. (i.e. the Found result is returned as "False".)

This is useful when you want to gauge the length of a line in millimeters. To gauge a line in pixels, use the MinPixelLength and MaxPixelLength properties.

See Also
Line Object, MinLength Property, MinPixelLength Property, MaxPixelLength Property