Adds the specified annotation to this InputImage.
Namespace: Cognex.VisionPro.InspectionAssembly: Cognex.VisionPro.Inspection (in Cognex.VisionPro.Inspection.dll) Version: 75.0.0.0 (75.0.0.0)
Syntax
Parameters
- annotation
- Type: Cognex.VisionPro.Inspection CogVerificationImageAnnotation
The annotation to be added.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | Thrown if the new annotation name is not unique. |
| ArgumentException | Thrown if the new annotation graphic is not a CogRectangle. |
See Also