Table of Contents

Method CopyPalette

Namespace
Aspose.CAD
Assembly
Aspose.CAD.dll

CopyPalette(IColorPalette, bool)

Copies the palette.

public static ColorPalette CopyPalette(IColorPalette colorPalette, bool useCompactPalette)

Parameters

colorPalette IColorPalette

The color palette.

useCompactPalette bool

Indicating whether compact palette.

Returns

ColorPalette

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

CopyPalette(IColorPalette)

Copies the palette.

public static ColorPalette CopyPalette(IColorPalette colorPalette)

Parameters

colorPalette IColorPalette

The color palette.

Returns

ColorPalette

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