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

Namespace: Cognex.VisionPro.Inspection
Assembly: Cognex.VisionPro.Inspection (in Cognex.VisionPro.Inspection.dll) Version: 80.0.0.0 (80.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