CenterPntOffsetXプロパティー
適用
ビジョンオブジェクト: ArcFinder、ArcInspector、Blob、BoxFinder、CodeReader、ColorMatch、Contour、CornerFinder、Correlation、DefectFinder、Edge、Geometric、LineFinder、OCR、Point、Polar、Text
解説
サーチウィンドウの中心をCenterPointObjectプロパティーで位置決めした後に、Xオフセットを指定します。
用法
VGet Sequence.Object.CenterPntOffsetX, var
VSet Sequence.Object.CenterPntOffsetX, value
- Sequence
- シーケンス名かシーケンス名を示す文字列変数
- Object
- オブジェクト名かオブジェクト名を示す文字列変数。オブジェクトは指定されたシーケンスに存在していなければなりません。
- var
- プロパティーの値を示す整数変数
- value
- プロパティーの新しい値を示す整数または式
値
ピクセル値を整数で返します。このプロパティーの設定の結果、サーチウィンドウがカメラ視野から外れる場合でも有効ピクセル内で検出可能です。
デフォルト: 0
詳細説明
CenterPntOffsetXプロパティーは、CenterPointObjectで位置決めされたサーチウィンドウをX方向に移動します。
CenterPointObjectプロパティーが"None"に設定されていると、CenterPntOffsetXは無効です。
参照
Blobオブジェクト, CenterPointObject プロパティー, CenterPntOffsetY プロパティー, CodeReaderオブジェクト, ColorMatchオブジェクト, Correlationオブジェクト, Geometricオブジェクト, OCRオブジェクト, Pointオブジェクト, Polarオブジェクト, BoxFinderオブジェクト, Contourオブジェクト, CornerFinderオブジェクト, Textオブジェクト