Removes the specified annotation category definition from the verification database.
Note, this method does not remove any defined defects using the removed category, it
just removes the definition of the annotation category. Users wanting to remove any
defects using the removed annotation category need to do this themselves manually.
Namespace: Cognex.VisionPro.InspectionAssembly: Cognex.VisionPro.Inspection (in Cognex.VisionPro.Inspection.dll) Version: 65.1.0.0 (65.1.0.0)
Syntax
Parameters
- annotationCategoryToRemove
- Type: System String
Annotation category to remove.
Events
| Event Type | Reason |
|---|---|
| InspectionRemovedAnnotationCategoryEvent | Fires at the end of a call to this method. |
Exceptions
| Exception | Condition |
|---|---|
| InvalidOperationException | Thrown if not currently connected. |
| ArgumentNullException | Thrown if annoationCategoryToRemove is null. |
| ArgumentNullException | Thrown if annoationCategoryToRemove not found. |
See Also