This documentation is archived and is not being maintained.

Image.Palette Property

Gets or sets the color palette used for this Image.

Namespace: System.Drawing
Assembly: System.Drawing (in system.drawing.dll)

public ColorPalette Palette { get; set; }
/** @property */
public ColorPalette get_Palette ()

/** @property */
public void set_Palette (ColorPalette value)

public function get Palette () : ColorPalette

public function set Palette (value : ColorPalette)

Not applicable.

Property Value

A ColorPalette that represents the color palette used for this Image.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0