This function retrieves various image information.

[C++Builder]   BOOL IKFileType(LPCTSTR FileName, int Page, PTR_IKFILE_INFO FileType);
[Delphi]   function IKFileType(FileName: PChar; Page: Integer; var FileType: IKFILE_INFO): LongBool;

Parameters

Name Explanation
FileName The name of the image file whose information is retrieved
Page The page number of the image file (starts from 0)
FileType The structure (user-defined type) parameter containing the retrieved information

Return Value

Returns True (nonzero) if successful. Returns False (0) if unsuccessful.

Explanation

The IKFileType function retrieves various image information. If successful, the image information will be set into the FileType member variables. For more information about the user functions please refer to the Definition of User Function in the Ik10File.dll, Ik10FileA.dll, Ik10File64.dll, Ik10File64A.dll section.

Even if the image format is supported, if no value has been set then that FileType member variable will return 0.

Regarding IKFILE_INFO, please refer to the explanation about IKFILE_INFO member variables in Ik10File.dll, Ik10FileA.dll, Ik10File64.dll, Ik10File64A.dll.

Differences from the ImageKit6

Some member variables have been added to IKFILE_INFO.

 

The ImageKit10 VCL is a product created by Newtone Corporation