Leadtools.Converters assembly

ConvertToImage Method (RasterImageConverter)

Show in webframe







The LTRasterImage to be converted
Instance of LTConvertToImageOptions to control the conversion operation.
Pointer to an NSError
Converts an LTRasterImage to an LTImage.
Syntax
public static LTImage ConvertToImage( 
   LTRasterImage image,
   LTConvertToImageOptions options,
   NSError outError
)
'Declaration
 
Public Shared Function ConvertToImage( _
   ByVal image As LTRasterImage, _
   ByVal options As LTConvertToImageOptions, _
   ByVal outError As NSError _
) As LTImage
'Usage
 
Dim image As LTRasterImage
Dim options As LTConvertToImageOptions
Dim outError As NSError
Dim value As LTImage
 
value = RasterImageConverter.ConvertToImage(image, options, outError)
public static LTImage ConvertToImage( 
   LTRasterImage image,
   LTConvertToImageOptions options,
   NSError outError
)
+(LTImage*)convertToImage:(LTRasterImage*)image 
                  options:(LTConvertToImageOptions)options 
                    error:(NSError**)outError;
             

            
 function Leadtools.Converters.RasterImageConverter.ConvertToImage( 
   image ,
   options ,
   outError 
)
public:
static LTImage^ ConvertToImage( 
   LTRasterImage^ image,
   LTConvertToImageOptions^ options,
   NSError^ outError
) 

Parameters

image
The LTRasterImage to be converted
options
Instance of LTConvertToImageOptions to control the conversion operation.
outError
Pointer to an NSError

Return Value

An LTImage object representing the converted image.
Remarks

iOS/OS X

This method converts a LEADTOOLS Leadtools.LTRasterImage object to either a UIImage or an NSImage (**see note below).

The conversion works by copying the image data over to the new destination. Currently, there is no support for sharing memory between an Leadtools.LTRasterImage and an LTImage.

Note: The LTImage macro will either be a UIImage (iOS) or NSImage (OS X) depending on the current platform.

Requirements

Target Platforms

See Also

Reference

RasterImageConverter Class
RasterImageConverter Members

 

 


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