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.

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

Identifier field

DestinationPaletteProperty

Metadata properties set to true

None

.NET Framework
Available since 3.0
Return to top
Show: