SearchLength Property

Applies To
Vision Objects: BoxFinder, CornerFinder

Description
Defines the length of the edge search range.

Usage

VGet  Sequence.Object.SearchLength, var
VSet  Sequence.Object.SearchLength, value
Sequence
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.
value
Integer value or expression for the new value of the property.

Values
Positive real value from 10 to SearchWinWidth/2 – 10 or SearchWinHeight/2 – 10

Use the smaller value of the two: SearchWinWidth or SearchWinHeight.

Remarks
Specify the length of the edge search range extending out from each edge of the search window.

While you can use SearchLength1 to 4 to set the edge search range for each edge individually, you can also use SearchLength to set the length for each edge together.

See Also
BoxFinder Object, CornerFinder Object, SearchLength1 Property, SearchLength2 Property, SearchLength3 Property, SearchLength4 Property