CogPMAlignCompositeDataItem SetImagePoseEnabled Method Cognex VisionPro 9.7
Sets the training image, the pose and the enabled properties in one shot.

Namespace: Cognex.VisionPro.PMAlign
Assembly: Cognex.VisionPro.PMAlign (in Cognex.VisionPro.PMAlign.dll) Version: 73.0.0.0
Syntax

public void SetImagePoseEnabled(
	ICogImage image,
	CogTransform2DLinear pose,
	bool enabled
)
Events

Event TypeReason
ICogChangedEvent ChangedFires when this property changes. The SfImage state flag may be affected.
Exceptions

ExceptionCondition
CogPMAlignImageTypeNotSupportedIf the supplied value type is not CogImage8Grey.
ArgumentNullExceptionIf the supplied image is null.
See Also