CopyPalette

ColorPalette.CopyPalette method (1 of 2)

Copies the palette.

public static ColorPalette 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


ColorPalette.CopyPalette method (2 of 2)

Copies the palette.

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

Return Value

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

See Also