Example-VB |
Returns the file type of the image file specified in the Image property, and the page specified in the Page property.
Ö | Imaging for Windows Professional Edition V1.0, V1.1, and V2.0 |
Ö | Imaging for Windows 95 and 98 |
Ö | Imaging for Windows NT 4.0 |
Note: AWD is not available with Imaging for Windows NT 4.0. GIF and WIFF are available with Imaging for Windows Professional Edition V1.0, V1.1, and V2.0; and Imaging for Windows 98.
Image Edit control
object.FileType
Integer (enumerated)
Property settings are expressed using the following values:
Constant | Setting | Description |
wiFileTypeTIFF | 1 | TIFF |
wiFileTypeAWD | 2 | AWD |
wiFileTypeBMP | 3 | BMP |
wiFileTypePCX | 4 | PCX |
wiFileTypeDCX | 5 | DCX |
wiFileTypeJPG | 6 | JPG |
wiFileTypeXIF | 7 | XIF |
wiFileTypeGIF | 8 | GIF |
wiFileTypeWIFF | 9 | WIFF |
The FileType value is independent of an image being displayed. If the image specified in the Image and Page properties is being displayed, the value indicates the file type of the displayed image. If the image specified in the Image and Page properties is not being displayed, the value indicates the file type of the image specified in the Image property.
A file with a .JFX extension is also a TIFF file type.
Available at run-time as read-only.