FreeImage.NET Class Library Reference
FreeImageBitmap Constructor (String, Boolean) |
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)
Syntax
C#
public FreeImageBitmap( string filename, bool useIcm )
Parameters
- filename
- Type: SystemString
The complete name of the file to load. - useIcm
- Type: SystemBoolean
Ignored.
Exceptions
Exception | Condition |
---|---|
Exception | The operation failed. |
ArgumentNullException | filename is a null reference. |
FileNotFoundException | filename does not exist. |
See Also