Creates a FreeImageBitmap from a Windows handle to an icon.
Namespace:
FreeImageAPIAssembly: FreeImageNET (in FreeImageNET.dll)
Syntax
| C# |
|---|
public static FreeImageBitmap FromHicon( IntPtr hicon ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function FromHicon ( _ hicon As IntPtr _ ) As FreeImageBitmap |
| Visual C++ |
|---|
public: static FreeImageBitmap^ FromHicon( IntPtr hicon ) |
Parameters
- hicon
- Type: System..::.IntPtr
A handle to an icon.