Leadtools Namespace > RasterImage Class : CopyPaletteTo Method |
public void CopyPaletteTo( RasterImage destImage )
'Declaration Public Sub CopyPaletteTo( _ ByVal destImage As RasterImage _ )
'Usage Dim instance As RasterImage Dim destImage As RasterImage instance.CopyPaletteTo(destImage)
public void CopyPaletteTo( RasterImage destImage )
-(BOOL)copyPaletteTo:(LTRasterImage*)destImage error:(NSError**)outError;
public void copyPaletteTo(RasterImage destImage)
function Leadtools.RasterImage.CopyPaletteTo( destImage )
public: void CopyPaletteTo( RasterImage^ destImage )
Only the palette the image is copied.
destImage must be allocated and must be 8-bit or less before this method is called. The source image (this RasterImage object and destImage must have the same BitsPerPixel.
destImage existing palette will be destroyed before the copy is made.