Leadtools.Converters Namespace > RasterImageConverter Class : ConvertFromBitmap Method |
public static RasterImage ConvertFromBitmap( Bitmap bitmap, int convertFromImageOptions )
'Declaration Public Shared Function ConvertFromBitmap( _ ByVal bitmap As Bitmap, _ ByVal convertFromImageOptions As Integer _ ) As RasterImage
'Usage Dim bitmap As Bitmap Dim convertFromImageOptions As Integer Dim value As RasterImage value = RasterImageConverter.ConvertFromBitmap(bitmap, convertFromImageOptions)
public static RasterImage ConvertFromBitmap( Bitmap bitmap, int convertFromImageOptions )
public static RasterImage convertFromBitmap(Bitmap bitmap, int convertFromImageOptions)
function Leadtools.Converters.RasterImageConverter.ConvertFromBitmap( bitmap , convertFromImageOptions )
public: static RasterImage^ ConvertFromBitmap( Bitmap^ bitmap, int convertFromImageOptions )
Use the convertFromBitmap method to convert an Android android.graphics.Bitmap into a LEADTOOLS Leadtools.RasterImage object.
To avoid making a copy of the actual image data when converting from a android.graphics.Bitmap using the ConvertFromImageOptions.LINK_IMAGE value.