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