CreatePaletteFromBitmap Method
Creates a palette using a computed optimized values based on the bitmap.
'Declaration
Public Function CreatePaletteFromBitmap( _
ByVal As System.Integer, _
ByVal As System.Boolean _
) As C1Bitmap.Palette
Parameters
- colorCount
- The number of colors to initialize the palette with.
- addTransparentColor
- A value to indicate whether to add a transparent color.