CogImageReferenceRecord CheckImageFilename Method Cognex VisionPro
Verifies that the referenced image exists. If there is a problem loading the image, an exception is thrown, otherwise this method just returns.

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

public void CheckImageFilename()
Exceptions

ExceptionCondition
ArgumentNullException Thrown if the ImageFilename is null.
ArgumentOutOfRangeException Thrown if the ImageIndex is out of range.
See Also