PsdColorPalette.CopyPalette

CopyPalette(IColorPalette, bool)

Copies the palette.

public static PsdColorPalette CopyPalette(IColorPalette colorPalette, bool useCompactPalette)
ParameterTypeDescription
colorPaletteIColorPaletteThe color palette.
useCompactPaletteBooleanIndicating whether compact palette.

Return Value

The newly created and copied palette or null if null palette passed.

See Also


CopyPalette(IColorPalette)

Copies the palette.

public static PsdColorPalette CopyPalette(IColorPalette colorPalette)
ParameterTypeDescription
colorPaletteIColorPaletteThe color palette.

Return Value

The newly created and copied palette or null if null palette passed.

See Also