[]
IWICPalette
[Guid("00000040-a8f2-4877-ba0a-fd2b6645fb94")]
public class Palette : ComObject, IDisposable, IUnknown
| Name | Description |
|---|---|
| Palette(IntPtr) | Initializes a new instance of the Palette class. |
| Name | Description |
|---|---|
| Colors | Gets the colors. |
| Name | Description |
|---|---|
| Create(ImagingFactory) | Initializes a new instance of the Palette class. |
| GetColorCount() | HRESULT IWICPalette::GetColorCount([Out] unsigned int* pcCount) |
| GetColors(int, IntPtr) | HRESULT IWICPalette::GetColors([In] unsigned int cCount,[Out, Buffer] void* pColors,[Out] unsigned int* pcActualColors) |
| GetTypeInfo() | HRESULT IWICPalette::GetType([Out] WICBitmapPaletteType* pePaletteType) |
| HasAlpha() | HRESULT IWICPalette::HasAlpha([Out] BOOL* pfHasAlpha) |
| Initialize(ColorF[]) | Initializes with the specified colors. |
| Initialize(BitmapPaletteType, Bool) | HRESULT IWICPalette::InitializePredefined([In] WICBitmapPaletteType ePaletteType,[In] BOOL fAddTransparentColor) |
| Initialize(BitmapSource, int, Bool) | HRESULT IWICPalette::InitializeFromBitmap([In] IWICBitmapSource* pISurface,[In] unsigned int cCount,[In] BOOL fAddTransparentColor) |
| Initialize(Palette) | HRESULT IWICPalette::InitializeFromPalette([In, Optional] IWICPalette* pIPalette) |
| Initialize(int[]) | Initializes with the specified colors. |
| Initialize(IntPtr, int) | HRESULT IWICPalette::InitializeCustom([In, Buffer] void* pColors,[In] unsigned int cCount) |
| IsBlackWhite() | HRESULT IWICPalette::IsBlackWhite([Out] BOOL* pfIsBlackWhite) |
| IsGrayscale() | HRESULT IWICPalette::IsGrayscale([Out] BOOL* pfIsGrayscale) |
| Name | Description |
|---|---|
| explicit operator Palette(IntPtr) |