Load a known image format from file, detecting automatically the image format.

This is useful when you don't know what a file contains (i.e. a test.dat could be a jpeg).

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

Syntax

         
 C#  Visual Basic  Visual C++ 
public void LoadImage(
	string fileName,
	bool detectFormat
)
Public Sub LoadImage ( _
	fileName As String, _
	detectFormat As Boolean _
)
public:
void LoadImage(
	String^ fileName, 
	bool detectFormat
)

Parameters

fileName
String
The input file name.
detectFormat
Boolean
If true does detect the image format, otherwise this is like LoadImage().

See Also