This property refers to the type of image format. To retrieve the value of this property, first execute the GetImageFileType or GetImageFileTypeMem method.

[C++Builder]   imagekitcontrolname->FileIO->FileType[= short ]
[Delphi]   imagekitcontrolname.FileIO.FileType[= Smallint ]

Property Value

The type of image format (From 1 to 28). See below

Explanation

The FileType property refers to the type of image format. To retrieve the value of this property, first execute the GetImageFileType or GetImageFileTypeMem method.

The FileType property refes to the following image formats

      1:BMP/DIB                                 2:BMP/DIB(RLE4)                            3:BMP/DIB(RLE8)

      4:JPEG(Standard DCT)                5:JPEG(Progressive DCT)                 6:GIF(87a)

      7:GIF(89a)                                 8:TIFF(Uncompressed)                     9:TIFF(CCITTRLE)

     10:TIFF(GROUP3-1D)                  11:TIFF(GROUP3-2D)                       12:TIFF(GROUP4)

     13:TIFF(PACKBITS)                    14:TIFF(LZW)                                  15:PNG

     16:FPX(Uncompressed)               17:FPX(Single Color)                       18:FPX(JPEG)

     19:PCX                                      20:WMF                                          21:EMF

     22:DXF                                      23:Exif(JPEG)                                  24:SVG

     25:JPEG2000(Part1)                    26:JPEG2000(Code Stream)             27:SXF(p21)

     28:SFC(sfc)              

     29:TIFF(JPEG)


Note: TIFF(GROUP3-1D) is the same as MH. TIFF(GROUP3-2D) is the same as MR. TIFF(GROUP4) is the same as MMR. The ImageKit10 supports a portion of Exif version 2.3 tags 
If an unsupported image format is loaded into the ImageKit Control, the FileType property will return 0.


It is also possible to use the following constants (vikFileTypeBMP = 1, vkFileTypeBMPRLE4 = 2, vikFileTypeBMPRLE8 = 3, vikFileTypeJPEG = 4, vikFileTypeJPEGProgress = 5, vikFileTypeGIF87 = 6, vikFileTypeGIF89 = 7, vikFileTypeTIFFNoncompressed = 8, vikFileTypeTIFFCcittrle = 9, vikFileTypeTIFFGroup3_1D = 10, vikFileTypeTIFFGroup3_2D = 11, vikFileTypeTIFFGroup4 = 12, vikFileTypeTIFFPackbits = 13, vikFileTypeTIFFLZW = 14, vikFileTypePNG = 15, vikFileTypeFPXNoncompressed = 16, vikFileTypeFPXSingleColor = 17, vikFileTypeFPXJpeg = 18, vikFileTypePCX = 19, vikFileTypeWMF = 20, vikFileTypeEMF = 21, vikFileTypeDXF = 22, vikFileTypeEXIF = 23, vikFileTypeSVG = 24, vikFileTypeJPEG2000 = 25, vikFileTypeJPEG2000Stream = 26, vikFileTypeSXFP21 = 27, vikFileTypeSXFSFC = 28, vikFileTypeTIFFJPEG = 29).

When using vector image formats the following properties are disabled; FileBitCount, FileImageSize, FileMaxPage, and FileWidthByte.

Setting this value

This value cannot be set.

Retrieving this value

This value can be retrieved at run-time.

Differences from ImageKit7/8/9/10 ActiveX

The FileType is not 4 bytes but is 2 bytes.

 

The ImageKit10 VCL is a product created by Newtone Corporation