FormatConvertedBitmap.DestinationPalette Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the palette to apply to the bitmap if the format is indexed.
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
Property Value
The destination palette to apply to the bitmap. The default value is null
.
Remarks
You must set this property if you want to use an indexed pixel format for the DestinationFormat.
Dependency Property Information
Identifier field | DestinationPaletteProperty |
Metadata properties set to true |
None |
Applies to
See also
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET