ColorPalette 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
ColorPalette(Color[]) | |
ColorPalette(PaletteType) |
ColorPalette(Color[])
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)
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