ColorPalette.CopyPalette
CopyPalette(IColorPalette, bool)
Copies the palette.
public static ColorPalette CopyPalette(IColorPalette colorPalette, bool useCompactPalette)
Parameter | Type | Description |
---|---|---|
colorPalette | IColorPalette | The color palette. |
useCompactPalette | Boolean | Indicating whether compact palette. |
Return Value
The newly created and copied palette or null if null palette passed.
See Also
- interface IColorPalette
- class ColorPalette
- namespace Aspose.Imaging
- assembly Aspose.Imaging
CopyPalette(IColorPalette)
Copies the palette.
public static ColorPalette CopyPalette(IColorPalette colorPalette)
Parameter | Type | Description |
---|---|---|
colorPalette | IColorPalette | The color palette. |
Return Value
The newly created and copied palette or null if null palette passed.
See Also
- interface IColorPalette
- class ColorPalette
- namespace Aspose.Imaging
- assembly Aspose.Imaging