Constructor for an image annotation
Namespace: Cognex.VisionPro.InspectionAssembly: Cognex.VisionPro.Inspection (in Cognex.VisionPro.Inspection.dll) Version: 79.0.0.0 (79.0.0.0)
public CogVerificationImageAnnotation(
string annotationName,
string category,
string description,
ICogGraphicInteractive graphic
)
public CogVerificationImageAnnotation(
string annotationName,
string category,
string description,
ICogGraphicInteractive graphic
)
Public Sub New (
annotationName As String,
category As String,
description As String,
graphic As ICogGraphicInteractive
)
Public Sub New (
annotationName As String,
category As String,
description As String,
graphic As ICogGraphicInteractive
)
public:
CogVerificationImageAnnotation(
String^ annotationName,
String^ category,
String^ description,
ICogGraphicInteractive^ graphic
)
public:
CogVerificationImageAnnotation(
String^ annotationName,
String^ category,
String^ description,
ICogGraphicInteractive^ graphic
)
Parameters
- annotationName
- Type: System String
The name of the image annotation, must be unique
- category
- Type: System String
The category for the image annotation.
- description
- Type: System String
A free form description of the image annotation
- graphic
- Type: Cognex.VisionPro ICogGraphicInteractive
A graphic that encompasses a region on an image. The derived type must be of type CogRectangle.