←Select platform

ConvertToBitmap Method

Summary

Converts a LEADTOOLS RasterImage into an Android android.graphics.Bitmap object.

Syntax

C#
VB
Java
C++
public static Bitmap ConvertToBitmap(  
   Leadtools.RasterImage image, 
   int convertToImageOptions 
) 
Public Shared Function ConvertToBitmap( _ 
   ByVal image As Leadtools.RasterImage, _ 
   ByVal convertToImageOptions As Integer _ 
) As Bitmap 
public static Bitmap convertToBitmap(RasterImage image, int convertToImageOptions) 
public: 
static Bitmap^ ConvertToBitmap(  
   Leadtools.RasterImage^ image, 
   int convertToImageOptions 
)  

Parameters

image
The RasterImage object containing the image data to convert.

Return Value

A android.graphics.Bitmap object representing the converted image.

Remarks

Android

Use the convertToBitmap method to convert a 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

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Converters Assembly