Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Palette Property

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 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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft