LEADTOOLS (Leadtools assembly)
LEAD Technologies, Inc

CopyPaletteTo Method






The destination image into which the palette will be copied. You must have a valid image loaded for this method to work.
Copies the palette of this RasterImage into a destination image. .NET support Silverlight support WinRT support
Syntax
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
)
 function Leadtools.RasterImage.CopyPaletteTo( 
   destImage 
)
public:
void CopyPaletteTo( 
   RasterImage^ destImage
) 

Parameters

destImage
The destination image into which the palette will be copied. You must have a valid image loaded for this method to work.
Remarks

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.

Example
For an example, refer to Leadtools.ImageProcessing.CopyDataCommand.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

RasterImage Class
RasterImage Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.