Leadtools.Converters assembly

ConvertFromBitmap 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 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
) 

Parameters

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

Return Value

A Leadtools.RasterImage object representing the converted image.
Remarks

Android

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.

Requirements

Target Platforms

See Also

Reference

RasterImageConverter Class
RasterImageConverter Members

 

 


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