MaxLength Property
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
below 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 Long variable that will contain the value of the property.
value Long expression for the new value of the property.
Values
0 or higher
Default: 1000
Remarks
The purpose of the MinLength and MaxLength Properties is to set a range for the Line object such that if a
line length does not fit within the range then it is considered not found. (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, see the
MinPixelLength and MaxPixelLength properties.
See Also
Line Object, MinLength Property, MinPixelLength Property, MaxPixelLength Property, Object Tab
Vision Guide 5.0 Reference (Ver.5.3) Rev.1 67