Creates a FreeImageBitmap from the specified file.
Namespace:
FreeImageAPIAssembly: FreeImageNET (in FreeImageNET.dll)
Syntax
C# |
---|
public static FreeImageBitmap FromFile( string filename ) |
Visual Basic (Declaration) |
---|
Public Shared Function FromFile ( _ filename As String _ ) As FreeImageBitmap |
Visual C++ |
---|
public: static FreeImageBitmap^ FromFile( String^ filename ) |
Parameters
- filename
- Type: System..::.String
A string that contains the name of the file from which to create the FreeImageBitmap.