CenterPntOffsetX Property

Applies To
Vision Objects: ArcFinder, ArcInspector, Blob, BoxFinder, CodeReader, ColorMatch, Contour, CornerFinder, Correlation, DefectFinder, Edge, Geometric, LineFinder, OCR, Point, Polar, Text

Description
Sets or returns the X offset of the center of the search window after it is positioned with the CenterPointObject.

Usage

VGet  Sequence.Object.CenterPntOffsetX, var
VSet  Sequence.Object.CenterPntOffsetX, 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 in pixels. As a result of this property setting, the search can be done within the valid pixels, even if the search window would not be positioned in the camera view.

Default: 0

Remarks
The CenterPntOffsetX property can be used to shift a search window that has been positioned by a CenterPointObject in X direction.

If CenterPointObject property is set to "None", then CenterPntOffsetX has no effect.

See Also
Blob Object, CenterPointObject Property, CenterPntOffsetY Property, CodeReader Object, ColorMatch Object, Correlation Object, Geometric Object, OCR Object, Point Object, Polar Object, BoxFinder Object, Contour Object, CornerFinder Object, Text Object