SearchType Property

Applies To
Vision Object: Edge

Description
Sets / returns the search type for an Edge object.

Usage

VGet  Sequence.Object.SearchType, var
VSet  Sequence.Object.SearchType, 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
Following integer values representing the search window type

  • 1 - Line
    • Vision constant: VISION_SEARCHTYPE_LINE
  • 2 - Arc
    • Vision constant: VISION_SEARCHTYPE_ARC

Default: 1 - Line

Remarks
Use SearchType to change the type of search to use for an Edge object. Available values are as follows:

  • 1 - Line: Search for edges along a line
  • 2 - Arc: Search for edges along an arc.

See Also
Edge Object