Leadtools.Converters Namespace > LTBitmapHandleConverter Class : ConvertToImage Method |
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 )
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.