- destImage
- The destination image into which the palette will be copied. You must have a valid image loaded for this method to work.
Visual Basic (Declaration) | |
---|---|
Public Sub CopyPaletteTo( _ ByVal destImage As RasterImage _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As RasterImage Dim destImage As RasterImage instance.CopyPaletteTo(destImage) |
C# | |
---|---|
public void CopyPaletteTo( RasterImage destImage ) |
C++/CLI | |
---|---|
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.
For an example, refer to Leadtools.ImageProcessing.CopyDataCommand.
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.
Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only), Windows Phone 7