CogVerificationInputImageContainer AddImageAnnotation Method Cognex VisionPro 9.23
Adds the specified annotation to this InputImage.

Namespace: Cognex.VisionPro.Inspection
Assembly: Cognex.VisionPro.Inspection (in Cognex.VisionPro.Inspection.dll) Version: 91.0.0.0 (91.0.0.0)
Syntax

public void AddImageAnnotation(
	CogVerificationImageAnnotation annotation
)
Exceptions

ExceptionCondition
ArgumentExceptionThrown if the new annotation name is not unique.
ArgumentExceptionThrown if the new annotation graphic is not a CogRectangle.
See Also