This documentation is for the old version. Go to the latest Graphics Mill docs

ColorPalette.Clone Method

Creates a full copy of the palette.

Namespace: Aurigma.GraphicsMill
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

Visual Basic
Public Overridable Function Clone As Object
C#
public virtual Object Clone()

Return Value

A ColorPalette object containing full copy of current object.

Implements

ICloneable.Clone()

Examples

Visual Basic
Dim newPalette As Aurigma.GraphicsMill.ColorPalette = palette.Clone()
C#
Aurigma.GraphicsMill.ColorPalette newPalette = 
    (Aurigma.GraphicsMill.ColorPalette)(palette.Clone());

See Also

Reference