Leadtools.Converters assembly

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

            
 function Leadtools.Converters.RasterImageConverter.ConvertToCGImage( 
   image ,
   options ,
   outError 
)
public:
static CGImageRef^ ConvertToCGImage( 
   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

A CGImageRef representing the converted image.
Remarks

iOS/OS X

Use the ConvertToCGImage method to convert a LEADTOOLS Leadtools.LTRasterImage into a CGImage.

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 CGImage.

Requirements

Target Platforms

See Also

Reference

RasterImageConverter Class
RasterImageConverter Members

 

 


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