Loads a FreeImage bitmap. The file will be loaded with default loading flags.

Namespace:  FreeImageAPI
Assembly:  FreeImageNET (in FreeImageNET.dll)

Syntax

C#
public static FIBITMAP LoadEx(
	string filename
)
Visual Basic (Declaration)
Public Shared Function LoadEx ( _
	filename As String _
) As FIBITMAP
Visual C++
public:
static FIBITMAP LoadEx(
	String^ filename
)

Parameters

filename
Type: System..::.String
The complete name of the file to load.

Return Value

Handle to a FreeImage bitmap.

Exceptions

ExceptionCondition
System.IO..::.FileNotFoundException filename does not exists.

Version Information

FreeImage.NET

Supported in: 3.11.0, 3.12.0, 3.13.0, 3.13.1

See Also