'Declaration Public Function CreatePredefinedPalette( _ ByVal paletteType As WicPaletteType, _ ByVal addTransparentColor As System.Boolean _ ) As GcWicBitmap.Palette
public GcWicBitmap.Palette CreatePredefinedPalette( WicPaletteType paletteType, System.bool addTransparentColor )
Parameters
- paletteType
- The desired pre-defined palette type.
- addTransparentColor
- The optional transparent color to add to the palette. If no transparent color is needed, use false. When initializing to a grayscale or black and white palette, set this parameter to false.