Image.Palette Property

Definition

Gets or sets the color palette used for this Image.

public:
 property System::Drawing::Imaging::ColorPalette ^ Palette { System::Drawing::Imaging::ColorPalette ^ get(); void set(System::Drawing::Imaging::ColorPalette ^ value); };
[System.ComponentModel.Browsable(false)]
public System.Drawing.Imaging.ColorPalette Palette { get; set; }
member this.Palette : System.Drawing.Imaging.ColorPalette with get, set
Public Property Palette As ColorPalette

Property Value

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

Attributes

Remarks

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

Applies to