CogPMAlignCompositeDataItem SetImagePoseEnabled Method Cognex VisionPro 9.5
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: 69.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
ArgumentNullExceptionIf the supplied image is null.
CogPMAlignImageTypeNotSupportedIf the supplied value type is not CogImage8Grey.
See Also