Leadtools.Converters assembly

ConvertToImage Method (LTBitmapHandleConverter_ObjectiveC)

Show in webframe







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

            
 function Leadtools.Converters.LTBitmapHandleConverter_ObjectiveC.ConvertToImage( 
   bitmapHandle ,
   options ,
   outError 
)
public:
static LTImage^ ConvertToImage( 
   BITMAPHANDLE^ bitmapHandle,
   LTConvertToImageOptions^ options,
   NSError^ outError
) 

Parameters

bitmapHandle
Pointer to the BITMAPHANDLE to be converted
options
Instance of LTConvertToImageOptions to control the conversion operation.
outError
Pointer to an NSError

Return Value

A LTImage object representing the converted image.
Remarks

iOS/OS X

Use the ConvertToImage method to convert a BITMAPHANDLE into 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 a BITMAPHANDLE and a 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

LTBitmapHandleConverter Class
LTBitmapHandleConverter Members

 

 


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