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.
Members
Member | Description | Value |
---|---|---|
FreeItemFlag | The item is uninitialized or has been deleted. |
0x0 |
ImageItemFlag | The item is an image file. Only valid for items that also have the FileItemFlag flag set. |
0x1 |
FileItemFlag | The item is a file. |
0x2 |
FolderItemFlag | The item is a folder. |
0x4 |
RootItemFlag | Identifies the root item in the device. |
0x8 |
AnalyzeItemFlag | This item supports the Analyze method. |
0x10 |
AudioItemFlag | The item is an audio file. Only valid for items that also have the FileItemFlag flag set. |
0x20 |
DeviceItemFlag | The item represents a connected device. |
0x40 |
DeletedItemFlag | The item is marked as deleted. |
0x80 |
DisconnectedItemFlag | The item represents a disconnected device. |
0x100 |
HPanoramaItemFlag | The item represents a horizontal panoramic image. |
0x200 |
VPanoramaItemFlag | The item represents a vertical panoramic image. |
0x400 |
BurstItemFlag | Images in this folder were taken in a continuous time sequence. Only valid for items that also have the FolderItemFlag flag set. |
0x800 |
StorageItemFlag | The item represents a storage medium. |
0x1000 |
TransferItemFlag | The item can be transferred. |
0x2000 |
GeneratedItemFlag | This item was created and does not correspond to an item in a device. |
0x4000 |
HasAttachmentsItemFlag | The item has file attachments. |
0x8000 |
VideoItemFlag | The item represents streaming video. |
0x10000 |
RemovedItemFlag | The item has been removed from the device. |
0x80000000 |
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.
Requirements
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2003 R2 [desktop apps only] |
Header |
|
IDL |
|