ColorPalette Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ColorPalette(Color[]) | |
ColorPalette(PaletteType) |
ColorPalette(Color[])
- Source:
- ColorPalette.cs
- Source:
- ColorPalette.cs
public:
ColorPalette(... cli::array <System::Drawing::Color> ^ customColors);
public ColorPalette (params System.Drawing.Color[] customColors);
new System.Drawing.Imaging.ColorPalette : System.Drawing.Color[] -> System.Drawing.Imaging.ColorPalette
Public Sub New (ParamArray customColors As Color())
Parameters
- entriescustomColors
- Color[]
Applies to
ColorPalette(PaletteType)
- Source:
- ColorPalette.cs
- Source:
- ColorPalette.cs
public:
ColorPalette(System::Drawing::Imaging::PaletteType fixedPaletteType);
public ColorPalette (System.Drawing.Imaging.PaletteType fixedPaletteType);
new System.Drawing.Imaging.ColorPalette : System.Drawing.Imaging.PaletteType -> System.Drawing.Imaging.ColorPalette
Public Sub New (fixedPaletteType As PaletteType)
Parameters
- paletteTypefixedPaletteType
- PaletteType