FindFileFormat reads the file and try to recognize file format from file header.

Namespace: HiComponents.IEvolution
Assembly: IEvolution2 (in IEvolution2.dll) Version: 10.1.0.0

Syntax

         
 C#  Visual Basic  Visual C++ 
public static IEFileFormats FindFileFormat(
	string fileName,
	bool verifyExtension
)
Public Shared Function FindFileFormat ( _
	fileName As String, _
	verifyExtension As Boolean _
) As IEFileFormats
public:
static IEFileFormats FindFileFormat(
	String^ fileName, 
	bool verifyExtension
)

Parameters

fileName
String
The name of the file to test
verifyExtension
Boolean
If false FindFileFormat doesn't control file extension.

Return Value

Returns image format found

See Also