[]
Initializes this instance with the specified bitmap source and format
public void Initialize(BitmapSource sourceRef, Guid dstFormat)
| Type | Name | Description |
|---|---|---|
| BitmapSource | sourceRef | The source ref. |
| Guid | dstFormat | The destination format. |
HRESULT IWICFormatConverter::Initialize([In] IWICBitmapSource* pISource,[In] const GUID& dstFormat,[In] WICBitmapDitherType dither,[In, Optional] IWICPalette* pIPalette,[In] double alphaThresholdPercent,[In] WICBitmapPaletteType paletteTranslate)
public void Initialize(BitmapSource sourceRef, Guid dstFormat, BitmapDitherType dither, Palette paletteRef, double alphaThresholdPercent, BitmapPaletteType paletteTranslate)
| Type | Name | Description |
|---|---|---|
| BitmapSource | sourceRef | |
| Guid | dstFormat | |
| BitmapDitherType | dither | |
| Palette | paletteRef | |
| double | alphaThresholdPercent | |
| BitmapPaletteType | paletteTranslate |