WiaItemFlag Enumeration
Supplies the bits that make up an Item's type. You can test an Item's type by using the AND operation with Item.Properties("Item Flags") and a member from the WiaItemFlag enumeration.
Syntax
Enum WiaItemFlag FreeItemFlag = 0 ImageItemFlag = 1 FileItemFlag = 2 FolderItemFlag = 4 RootItemFlag = 8 AnalyzeItemFlag = 16 AudioItemFlag = 32 DeviceItemFlag = 64 DeletedItemFlag = 128 DisconnectedItemFlag = 256 HPanoramaItemFlag = 512 VPanoramaItemFlag = 1024 BurstItemFlag = 2048 StorageItemFlag = 4096 TransferItemFlag = 8192 GeneratedItemFlag = 16384 HasAttachmentsItemFlag = 32768 VideoItemFlag = 65536 RemovedItemFlag = 2147483648 End Enum
Constants
- FreeItemFlag
The item is uninitialized or has been deleted.- ImageItemFlag
The item is an image file. Only valid for items that also have the FileItemFlag flag set.- FileItemFlag
The item is a file.- FolderItemFlag
The item is a folder.- RootItemFlag
Identifies the root item in the device.- AnalyzeItemFlag
This item supports the Analyze method.- AudioItemFlag
The item is an audio file. Only valid for items that also have the FileItemFlag flag set.- DeviceItemFlag
The item represents a connected device.- DeletedItemFlag
The item is marked as deleted.- DisconnectedItemFlag
The item represents a disconnected device.- HPanoramaItemFlag
The item represents a horizontal panoramic image.- VPanoramaItemFlag
The item represents a vertical panoramic image.- BurstItemFlag
Images in this folder were taken in a continuous time sequence. Only valid for items that also have the FolderItemFlag flag set.- StorageItemFlag
The item represents a storage medium.- TransferItemFlag
The item can be transferred.- GeneratedItemFlag
This item was created and does not correspond to an item in a device.- HasAttachmentsItemFlag
The item has file attachments.- VideoItemFlag
The item represents streaming video.- RemovedItemFlag
The item has been removed from the device.
Remarks
An Item's type provides more information about exactly what kind of imaging device item the Item object is associated with.
For example code, see Count Root Level Images for Transfer in Shared Samples.
Enumeration Information
Minimum operating systems Windows XP SP1