Converts this FreeImageBitmapFreeImageBitmap to type.
In case source and destination type are the same, the operation fails.
An error message can be catched using the 'Message' event.
Namespace:
FreeImageAPIAssembly: FreeImageNET (in FreeImageNET.dll)
Syntax
C# |
---|
public FreeImageBitmap GetTypeConvertedInstance( FREE_IMAGE_TYPE type, bool scaleLinear ) |
Visual Basic (Declaration) |
---|
Public Function GetTypeConvertedInstance ( _ type As FREE_IMAGE_TYPE, _ scaleLinear As Boolean _ ) As FreeImageBitmap |
Visual C++ |
---|
public: FreeImageBitmap^ GetTypeConvertedInstance( FREE_IMAGE_TYPE type, bool scaleLinear ) |
Parameters
- type
- Type: FreeImageAPI..::.FREE_IMAGE_TYPE
Destination type.
- scaleLinear
- Type: System..::.Boolean
True to scale linear, else false.