Share via


FormatConvertedBitmap.DestinationPalette 属性

定义

获取或设置当索引格式时要应用于位图的调色板。

public:
 property System::Windows::Media::Imaging::BitmapPalette ^ DestinationPalette { System::Windows::Media::Imaging::BitmapPalette ^ get(); void set(System::Windows::Media::Imaging::BitmapPalette ^ value); };
public System.Windows.Media.Imaging.BitmapPalette DestinationPalette { get; set; }
member this.DestinationPalette : System.Windows.Media.Imaging.BitmapPalette with get, set
Public Property DestinationPalette As BitmapPalette

属性值

要应用于位图的目标调色板。 默认值是 null

注解

如果要对 使用索引像素格式, DestinationFormat则必须设置此属性。

依赖项属性信息

标识符字段 DestinationPaletteProperty
元数据属性设置为 true

适用于

另请参阅