CenterPntOffsetY 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 Y offset of the center of the search window after it is positioned with the CenterPointObject.
Usage
VGet Sequence.Object.CenterPntOffsetY, var
VSet Sequence.Object.CenterPntOffsetY, 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 CenterPntOffsetY property can be used to shift a search window that has been positioned by a CenterPointObject in Y direction.
If CenterPointObject property is set to "None", then CenterPntOffsetY has no effect.
See Also
Blob Object, CenterPointObject, CenterPntOffsetX Property, CodeReader Object, ColorMatch Object, Correlation Object, Geometric Object, OCR Object, Point Object, Polar Object, BoxFinder Object, Contour Object, CornerFinder Object, Text Object