PsdColorPaletteCopyPalette Method (IColorPalette, Boolean)
Copies the palette.

Namespace: Aspose.PSD.FileFormats.Psd
Assembly: Aspose.PSD (in Aspose.PSD.dll) Version: 23.4
Syntax
public static PsdColorPalette CopyPalette(
	IColorPalette colorPalette,
	bool useCompactPalette
)

Parameters

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

Return Value

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