Image::Palette Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com 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)

public:
[BrowsableAttribute(false)]
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
Show: