This method retrieves information about the image and sets this
into the following properties:
Comment, CreationTimeDay, CreationTimeHour, CreationTimeMinute, CreationTimeMonth, CreationTimeSecond, CreationTimeYear, Exif, FileBitCount, FileHeight, FileWidth, FileImageSize, FileMaxPage, FileSize, FileType, FileWidthByte, FileXdpi, FileYdpi, LastAccessTimeDay, LastAccessTimeHour, LastAccessTimeMinute,
LastAccessTimeMonth,
LastAccessTimeSecond,
LastAccessTimeYear,
LastWriteTimeDay,
LastWriteTimeHour,
LastWriteTimeMinute,
LastWriteTimeMonth,
LastWriteTimeSecond,
LastWriteTimeYear
Parameters
None
Return Value
Returns True if successful. Returns False if unsuccessful.
Explanation
The GetImageFileType method retrieves information about
the image and sets this into the following properties:
Comment, CreationTimeDay, CreationTimeHour, CreationTimeMinute, CreationTimeMonth, CreationTimeSecond, CreationTimeYear, Exif, FileBitCount, FileHeight, FileWidth, FileImageSize, FileMaxPage, FileSize, FileType, FileWidthByte, FileXdpi, FileYdpi, LastAccessTimeDay, LastAccessTimeHour, LastAccessTimeMinute,
LastAccessTimeMonth,
LastAccessTimeSecond,
LastAccessTimeYear,
LastWriteTimeDay,
LastWriteTimeHour,
LastWriteTimeMinute,
LastWriteTimeMonth,
LastWriteTimeSecond,
LastWriteTimeYear
To execute this method the appropriate value must first be set into the FileName property. If the image is a multi-page image file then the LoadPage property must also be set. 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.