BitmapEncoder::Palette Property
.NET Framework (current version)
Gets or sets a value that represents the BitmapPalette of an encoded bitmap.
Assembly: PresentationCore (in PresentationCore.dll)
public: property BitmapPalette^ Palette { virtual BitmapPalette^ get(); virtual void set(BitmapPalette^ value); }
| Exception | Condition |
|---|---|
| ArgumentNullException | The BitmapPalette value that is passed to the encoder is null. |
Only Tagged Image File Format (TIFF) and Graphics Interchange Format (GIF) images (and some older, non-standard bitmap (BMP) images) support palettes.
.NET Framework
Available since 3.0
Available since 3.0
Show: