[]
Initializes with the specified colors.
public void Initialize(int[] colors)
| Type | Name | Description |
|---|---|---|
| int[] | colors | The colors. |
Initializes with the specified colors.
public void Initialize(ColorF[] colors)
| Type | Name | Description |
|---|---|---|
| ColorF[] | colors | The colors. |
HRESULT IWICPalette::InitializePredefined([In] WICBitmapPaletteType ePaletteType,[In] BOOL fAddTransparentColor)
public void Initialize(BitmapPaletteType ePaletteType, Bool fAddTransparentColor)
| Type | Name | Description |
|---|---|---|
| BitmapPaletteType | ePaletteType | |
| Bool | fAddTransparentColor |
HRESULT IWICPalette::InitializeCustom([In, Buffer] void* pColors,[In] unsigned int cCount)
public void Initialize(IntPtr colorsRef, int count)
| Type | Name | Description |
|---|---|---|
| IntPtr | colorsRef | |
| int | count |
HRESULT IWICPalette::InitializeFromBitmap([In] IWICBitmapSource* pISurface,[In] unsigned int cCount,[In] BOOL fAddTransparentColor)
public void Initialize(BitmapSource surfaceRef, int count, Bool fAddTransparentColor)
| Type | Name | Description |
|---|---|---|
| BitmapSource | surfaceRef | |
| int | count | |
| Bool | fAddTransparentColor |
HRESULT IWICPalette::InitializeFromPalette([In, Optional] IWICPalette* pIPalette)
public void Initialize(Palette paletteRef)
| Type | Name | Description |
|---|---|---|
| Palette | paletteRef |