SearchWinWidth Property

Applies To
Vision Objects: Blob, BoxFinder, CodeReader, ColorMatch, Correlation, Contour, CornerFinder, DefectFinder, Geometric, ImageOp, LineFinder, OCR, Text

Description
Defines the width of the an object's search window.

Usage

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

Values
Integer number in pixels from 10 to video width - SearchWinLeft

Default: 100

Remarks
The SearchWinWidth property is available for objects with rectangular search windows used to define the area to search within. The SearchWinWidth property is set automatically when the user resizes the search window width in the GUI.

There are cases where the user may want to expand or position the Search Window dynamically and for that reason the SearchWinWidth property can also be set from the SPEL+ Language.

Do not the set the SearchWinWidth value too large. If the value is too large, the detection time gets longer and may result in false detection. Also, a value greater than 4096 cannot be set in Correlation and Geometric objects.

See Also
Blob Object, CodeReader Object, Correlation Object, DefectFinder Object, Geometric Object, ImageOp Object, LineFinder Object, OCR Object, BoxFinder Object, Contour Object, CornerFinder Object, Text Object, SearchWinHeight Property, SearchWinLeft Property, SearchWinTop Property, Window Property