MaxPixelLength Property

Applies To
Vision Objects: Line, LineFinder

Description
Sets the upper pixel length limit for the Line object. For a Line to be found it must have a PixelLength result shorter than the value set for MaxPixelLength property.

Usage

VGet  Sequence.Object.MaxPixelLength, var
VSet  Sequence.Object.MaxPixelLength , 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 in pixels

Default: 9999

Remarks
The MinPixelLength and MaxPixelLength 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 pixels. To gauge a line in Millimeters, use the Length and MaxLength properties.

See Also
Line Object, LineFinder Object, MinLength Property, MaxLength Property, MinPixelLength Property