FormatConvertedBitmap.DestinationPalette Property

Gets or sets the palette to apply to the bitmap if the format is indexed.

Namespace:  System.Windows.Media.Imaging
Assembly:  PresentationCore (in PresentationCore.dll)

public BitmapPalette DestinationPalette { get; set; }

Property Value

Type: System.Windows.Media.Imaging.BitmapPalette
The destination palette to apply to the bitmap. The default value is null.

Identifier field


Metadata properties set to true


You must set this property if you want to use an indexed pixel format for the DestinationFormat.

.NET Framework

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

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft