This method retrieves information from the raw image data and sets that information into the following properties:
Comment, FileBitCount, FileHeight, FileImageSize, FileMaxPage, FileSize, FileType, FileWidth, FileWidthByte, FileXdpi, FileYdpi, Interlace

[C++Builder]   [ bool = ]imagekitcontrolname->FileIO->GetImageFileTypeMem()
[Delphi]   [ Boolean = ]imagekitcontrolname.FileIO.GetImageFileTypeMem()

Parameters

None

Return Value

Returns True if successful. Returns False if unsuccessful.

Explanation

The GetImageFileTypeMem method retrieves information from the raw image data and sets that information into the following properties:
Comment, FileBitCount, FileHeight, FileImageSize, FileMaxPage, FileSize, FileType, FileWidth, FileWidthByte, FileXdpi, FileYdpi, Interlace

To execute this method the appropriate value must first be set into the ImageHandleRawData and LoadPage property. If the image is a multi-page image file then properties other than FileMaxPage and FileSize will relate to the page specified in the LoadPage property. For all image file formats except TIFF, the Comment property relates to the whole image file, regardless of whether it is a multi-page image file or not. For more details, please refer to the specific property information.

Note: Even if the file format is supported, if no value has been set then that property will return a 0 or an empty string.

This method is the same as retrieving information from the image file using the GetImageFileType, however the properties related to "File Created", "File Accessed", and "File Modified" will have a value of 0.

 

The ImageKit10 VCL is a product created by Newtone Corporation