Initializes a new instance of the FreeImageBitmap class bases on the specified resource.

Namespace:  FreeImageAPI
Assembly:  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

ExceptionCondition
System..::.ExceptionThe operation failed.

Version Information

FreeImage.NET

Supported in: 3.11.0, 3.12.0, 3.13.0, 3.13.1

See Also