FreeImage.NET Class Library Reference
![]() | FreeImageBitmap Constructor (String) |
Initializes a new instance of the FreeImageBitmap class bases on the specified file.
Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
SyntaxC#
public FreeImageBitmap( string filename )
Parameters
- filename
- Type: SystemString
The complete name of the file to load.
Exceptions| Exception | Condition |
|---|---|
| Exception | The operation failed. |
| ArgumentNullException | filename is a null reference. |
| FileNotFoundException | filename does not exist. |
See Also