Initializes a new instance of the FreeImageBitmap class bases on the specified resource.
Namespace:
FreeImageAPIAssembly: FreeImageNET (in FreeImageNET.dll)
Syntax
C# |
---|
public FreeImageBitmap( Type type, string resource ) |
Visual Basic (Declaration) |
---|
Public Sub New ( _ type As Type, _ resource As String _ ) |
Visual C++ |
---|
public: FreeImageBitmap( Type^ type, String^ resource ) |
Parameters
- type
- Type: System..::.Type
The class used to extract the resource.
- resource
- Type: System..::.String
The name of the resource.
Exceptions
Exception | Condition |
---|---|
System..::.Exception | The operation failed. |