OriginOffset Property (Read Only)

NI Vision for Visual Basic

OriginOffset Property (Read Only)

Syntax

CWIMAQLearnGeometricPatternOptions.OriginOffset

Data Type

CWIMAQPoint

Purpose

Specifies the number of pixels that CWIMAQVision.MatchGeometricPattern shifts the origin of the template from the center of the template image.

Remarks

OriginOffset is used by CWIMAQVision.MatchGeometricPattern to set the Position property of each CWIMAQGeometricPatternMatchReportItem in the GeometricMatchReport. The Position property of each CWIMAQGeometricPatternMatchReportItem corresponds to each match in a target image.

The default value is (0, 0).

See Also

CWIMAQGeometricPatternMatchReportItem.Position