CogVerificationDatabase AddImage Method (ICogImage, CogVerificationSimpleResultConstants)Cognex VisionPro 9.5
Adds the specified image to this verification database.

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

public string AddImage(
	ICogImage image,
	CogVerificationSimpleResultConstants defaultSimpleResult
)

Return Value

Type: String
A key of the image that were added to the database.
Exceptions

ExceptionCondition
InvalidOperationException Thrown if not currently connected.
ArgumentNullException Thrown if image is null.
ArgumentNullException Thrown if the image cannot be added to the database.
See Also