共用方式為


ColorPalette 建構函式

定義

多載

ColorPalette(Color[])
ColorPalette(PaletteType)

ColorPalette(Color[])

來源:
ColorPalette.cs
public:
 ColorPalette(... cli::array <System::Drawing::Color> ^ entries);
public ColorPalette (params System.Drawing.Color[] entries);
new System.Drawing.Imaging.ColorPalette : System.Drawing.Color[] -> System.Drawing.Imaging.ColorPalette
Public Sub New (ParamArray entries As Color())

參數

entries
Color[]

適用於

ColorPalette(PaletteType)

來源:
ColorPalette.cs
public:
 ColorPalette(System::Drawing::Imaging::PaletteType paletteType);
public ColorPalette (System.Drawing.Imaging.PaletteType paletteType);
new System.Drawing.Imaging.ColorPalette : System.Drawing.Imaging.PaletteType -> System.Drawing.Imaging.ColorPalette
Public Sub New (paletteType As PaletteType)

參數

paletteType
PaletteType

適用於