FreeImageBitmap.FromResource Method

FreeImage.NET

FreeImageBitmapFromResource Method
Creates a FreeImageBitmap from the specified Windows resource.

Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public static FreeImageBitmap FromResource(
	IntPtr hinstance,
	string bitmapName
)

Parameters

hinstance
Type: SystemIntPtr
A handle to an instance of the executable file that contains the resource.
bitmapName
Type: SystemString
A string containing the name of the resource bitmap.

Return Value

Type: FreeImageBitmap
The FreeImageBitmap that this method creates.
See Also