FreeImage.NET Class Library Reference
FreeImageBitmap Conversion (FreeImageBitmap to Bitmap) |
Converts a FreeImageBitmap instance to a Bitmap instance.
Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public static explicit operator Bitmap ( FreeImageBitmap value )
Parameters
- value
- Type: FreeImageAPIFreeImageBitmap
A FreeImageBitmap instance.
Return Value
Type: BitmapA new instance of Bitmap initialized to value.
Remarks
The explicit 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.
See Also