Loads a FreeImage bitmap.
The file will be loaded with default loading flags.
Namespace:
FreeImageAPIAssembly: 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
| Exception | Condition |
|---|---|
| System.IO..::.FileNotFoundException | filename does not exists. |