CogImageFileTool CurrentImageIndex Property Cognex VisionPro 9.8 SR1
Current image index.

Namespace: Cognex.VisionPro.ImageFile
Assembly: Cognex.VisionPro.ImageFile (in Cognex.VisionPro.ImageFile.dll) Version: 75.0.0.0
Syntax

public int CurrentImageIndex { get; }

Property Value

Type: Int32
Remarks

Default Value: -1

Current image index within the currently open image file. If a new file is opened for reading (playback mode) or writing (record mode), CurrentImageIndex is set to -1. If the file is opened for update, CurrentImageIndex is set to NumImages - 1.

See Also