Converts a FreeImageBitmap instance to a Bitmap instance.

Namespace:  FreeImageAPI
Assembly:  FreeImageNET (in FreeImageNET.dll)

Syntax

C#
public static implicit operator Bitmap (
	FreeImageBitmap value
)
Visual Basic (Declaration)
Public Shared Widening Operator CType ( _
	value As FreeImageBitmap _
) As Bitmap
Visual C++
static implicit operator Bitmap^ (
	FreeImageBitmap^ value
)

Parameters

value
Type: FreeImageAPI..::.FreeImageBitmap
A FreeImageBitmap instance.

Return Value

A new instance of Bitmap initialized to value.

Remarks

The implicit conversion from FreeImageBitmap into Bitmap allows to create an instance on the fly and use it as if was a Bitmap. This way it can be directly used with a PixtureBox for example without having to call any conversion operations.

Version Information

FreeImage.NET

Supported in: 3.11.0

See Also