CenterPntOffsetY属性

适用
视觉对象:ArcFinder、ArcInspector、Blob、BoxFinder、CodeReader、ColorMatch、Contour、CornerFinder、Correlation、DefectFinder、Edge、Geometric、LineFinder、OCR、Point、Polar、Text

说明
设定或返回通过CenterPointObject定位搜索窗口的中心后的Y偏移。

用法

VGet  Sequence.Object.CenterPntOffsetY, var
VSet  Sequence.Object.CenterPntOffsetY, value
Sequence
序列名或表示序列名的字符串变量
Object
对象名或表示对象名的字符串变量对象必须存在于指定的序列中。
var
表示属性值的整数变量
value
表示新属性值的整数或表达式


像素单位的整数。作为该属性设定结果,即使搜索窗口不定位于相机视野中,也可在有效像素内搜索。

默认:0

详细说明
CenterPntOffsetY属性可用于将通过CenterPointObject定位的搜索窗口向Y方向移动。

如果CenterPointObject属性设为“None”,则CenterPntOffsetY无效。

参照
Blob对象、CenterPointObject、CenterPntOffsetX、CodeReader对象、ColorMatch对象、Correlation对象、Geometric对象、OCR对象、Point对象、Polar对象、BoxFinder对象、Contour对象、CornerFinder对象、Text对象