'Declaration Public Function CreatePaletteFromBitmap( _ ByVal colorCount As System.Integer, _ ByVal addTransparentColor As System.Boolean _ ) As GcWicBitmap.Palette
public GcWicBitmap.Palette CreatePaletteFromBitmap( System.int colorCount, System.bool addTransparentColor )
Parameters
- colorCount
- The number of colors to initialize the palette with.
- addTransparentColor
- A value to indicate whether to add a transparent color.