Leadtools.Converters assembly

ConvertToCGImage 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 CGImageRef.
Syntax
public static CGImageRef ConvertToCGImage( 
   BITMAPHANDLE bitmapHandle,
   LTConvertToImageOptions options,
   NSError outError
)
'Declaration
 
Public Shared Function ConvertToCGImage( _
   ByVal bitmapHandle As BITMAPHANDLE, _
   ByVal options As LTConvertToImageOptions, _
   ByVal outError As NSError _
) As CGImageRef
'Usage
 
Dim bitmapHandle As BITMAPHANDLE
Dim options As LTConvertToImageOptions
Dim outError As NSError
Dim value As CGImageRef
 
value = LTBitmapHandleConverter.ConvertToCGImage(bitmapHandle, options, outError)
public static CGImageRef ConvertToCGImage( 
   BITMAPHANDLE bitmapHandle,
   LTConvertToImageOptions options,
   NSError outError
)
+(CGImageRef)convertToCGImage:(BITMAPHANDLE*)bitmapHandle 
                      options:(LTConvertToImageOptions)options 
                        error:(NSError**)outError;
             

            
 function Leadtools.Converters.LTBitmapHandleConverter_ObjectiveC.ConvertToCGImage( 
   bitmapHandle ,
   options ,
   outError 
)
public:
static CGImageRef^ ConvertToCGImage( 
   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 CGImageRef representing the converted image.
Remarks

iOS/OS X

Use the ConvertToCGImage> method to convert a BITMAPHANDLE to a CGImage. 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 CGImage.

Requirements

Target Platforms

See Also

Reference

LTBitmapHandleConverter Class
LTBitmapHandleConverter Members

 

 


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