CopyPalette

ColorPalette.CopyPalette method (1 of 2)

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


ColorPalette.CopyPalette method (2 of 2)

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