Maxpixellength property – Epson 5 User Manual

Page 82

Advertising
background image

MaxPixelLength Property

MaxPixelLength Property

Applies To

Vision Objects: Line

Description

Defines the upper pixel length limit for the Line object. For a Line to be found it must have a PixelLength
result below 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 expression for the new value of the property.

Values

0 or higher in pixels

Default: 1000

Remarks

The purpose of the MinPixelLength and MaxPixelLength 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 pixels. To gauge a line in Millimeters, see the
MinLength and MaxLength properties. The default settings allow most lines to be found.

See Also

Line Object, MinLength Property, MaxLength Property, MinPixelLength Property, Object Tab

68

Vision Guide 5.0 Reference (Ver.5.3) Rev.1

Advertising