[]
Initializes this instance with the specified bitmap source and format
public void Initialize(BitmapSource sourceRef, Guid dstFormat)
Public Sub Initialize(sourceRef As BitmapSource, dstFormat As Guid)
| 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)
Public Sub Initialize(sourceRef As BitmapSource, dstFormat As Guid, dither As BitmapDitherType, paletteRef As Palette, alphaThresholdPercent As Double, paletteTranslate As BitmapPaletteType)
| Type | Name | Description |
|---|---|---|
| BitmapSource | sourceRef | |
| Guid | dstFormat | |
| BitmapDitherType | dither | |
| Palette | paletteRef | |
| double | alphaThresholdPercent | |
| BitmapPaletteType | paletteTranslate |