Leadtools.Converters Namespace > RasterImageConverter Class : ConvertToBitmap Method |
public static Bitmap ConvertToBitmap( RasterImage image, int convertToImageOptions )
'Declaration Public Shared Function ConvertToBitmap( _ ByVal image As RasterImage, _ ByVal convertToImageOptions As Integer _ ) As Bitmap
'Usage Dim image As RasterImage Dim convertToImageOptions As Integer Dim value As Bitmap value = RasterImageConverter.ConvertToBitmap(image, convertToImageOptions)
public static Bitmap ConvertToBitmap( RasterImage image, int convertToImageOptions )
public static Bitmap convertToBitmap(RasterImage image, int convertToImageOptions)
function Leadtools.Converters.RasterImageConverter.ConvertToBitmap( image , convertToImageOptions )
public: static Bitmap^ ConvertToBitmap( RasterImage^ image, int convertToImageOptions )
Use the convertToBitmap method to convert a LEADTOOLS Leadtools.RasterImage into a Android android.graphics.Bitmap object.
You can avoid making a copy of the actual image data when converting to a android.graphics.Bitmap by using the ConvertToImageOptions.LINK_IMAGE value.