Creates a FreeImageBitmap from the specified Windows resource.
Namespace:
FreeImageAPIAssembly: FreeImageNET (in FreeImageNET.dll)
Syntax
| C# |
|---|
public static FreeImageBitmap FromResource( IntPtr hinstance, string bitmapName ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function FromResource ( _ hinstance As IntPtr, _ bitmapName As String _ ) As FreeImageBitmap |
| Visual C++ |
|---|
public: static FreeImageBitmap^ FromResource( IntPtr hinstance, String^ bitmapName ) |
Parameters
- hinstance
- Type: System..::.IntPtr
A handle to an instance of the executable file that contains the resource.
- bitmapName
- Type: System..::.String
A string containing the name of the resource bitmap.