Gets the number of items contained in this collection.
Namespace: Cognex.VisionPro.ImageFileAssembly: Cognex.VisionPro.ImageFile (in Cognex.VisionPro.ImageFile.dll) Version: 73.0.0.0
Syntax
Property Value
Type: Int32Implements
ICollection CountExamples
Imports Cognex.VisionPro.ImageFile
' Find the count of images in an image fileDim ImageFile as New CogImageFile
imagefile.Open("c:\image.cdb", CogImageFileModeConstants.Read)
Dim ImageCount As Integer
ImageCount = ImageFile.Countusing Cognex.VisionPro.ImageFile; // Find the count of images in an image fileDim ImageFile as New CogImageFile imagefile.Open("c:\\image.cdb", CogImageFileModeConstants.Read); int ImageCount; ImageCount = imagefile.Count;
See Also