ColorPaletteCopyPalette Method (IColorPalette, Boolean)
Copies the palette.

Namespace: Aspose.Imaging
Assembly: Aspose.Imaging (in Aspose.Imaging.dll) Version: 21.05
Syntax
public static ColorPalette CopyPalette(
	IColorPalette colorPalette,
	bool useCompactPalette
)

Parameters

colorPalette
Type: Aspose.ImagingIColorPalette
The color palette.
useCompactPalette
Type: SystemBoolean
Indicating whether compact palette.

Return Value

Type: ColorPalette
The newly created and copied palette or null if null palette passed.
See Also