| PsdColorPaletteCopyPalette Method (IColorPalette, Boolean) |
Copies the palette.
Namespace: Aspose.PSD.FileFormats.PsdAssembly: Aspose.PSD (in Aspose.PSD.dll) Version: 23.4
Syntaxpublic static PsdColorPalette CopyPalette(
IColorPalette colorPalette,
bool useCompactPalette
)
Public Shared Function CopyPalette (
colorPalette As IColorPalette,
useCompactPalette As Boolean
) As PsdColorPalette
public:
static PsdColorPalette^ CopyPalette(
IColorPalette^ colorPalette,
bool useCompactPalette
)
static member CopyPalette :
colorPalette : IColorPalette *
useCompactPalette : bool -> PsdColorPalette
Parameters
- colorPalette
- Type: Aspose.PSDIColorPalette
The color palette. - useCompactPalette
- Type: SystemBoolean
Indicating whether compact palette.
Return Value
Type:
PsdColorPaletteThe newly created and copied palette or null if null palette passed.
See Also