Leadtools.Converters assembly

ConvertToBitmap Method

Show in webframe







The android.graphics.Bitmap object containing the image data to convert.
The options value to control the conversion operation.
Converts an Android android.graphics.Bitmap object into a LEADTOOLS Leadtools.RasterImage.
Syntax
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
) 

Parameters

image
The android.graphics.Bitmap object containing the image data to convert.
convertToImageOptions
The options value to control the conversion operation.

Return Value

A Leadtools.RasterImage object representing the converted image.
Remarks

Android

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.

Requirements

Target Platforms

See Also

Reference

RasterImageConverter Class
RasterImageConverter Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.