Image::Palette Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets or sets the color palette used for this Image.

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

property ColorPalette^ Palette {
	ColorPalette^ get();
	void set(ColorPalette^ value);

Property Value

Type: System.Drawing.Imaging::ColorPalette^

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

This property returns a copy of the ColorPalette object used by this Image.

.NET Framework
Available since 1.1
Return to top