FreeImage.NET Class Library Reference
FreeImageBitmap Constructor (Type, String) |
Initializes a new instance of the FreeImageBitmap class bases on the specified resource.
Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public FreeImageBitmap( Type type, string resource )
Parameters
- type
- Type: SystemType
The class used to extract the resource. - resource
- Type: SystemString
The name of the resource.
Exceptions
Exception | Condition |
---|---|
Exception | The operation failed. |
See Also