Partilhar via


ColorPalette.CreateOptimalPalette(Int32, Boolean, Bitmap) Método

Definição

public:
 static System::Drawing::Imaging::ColorPalette ^ CreateOptimalPalette(int colors, bool useTransparentColor, System::Drawing::Bitmap ^ bitmap);
public static System.Drawing.Imaging.ColorPalette CreateOptimalPalette (int colors, bool useTransparentColor, System.Drawing.Bitmap bitmap);
static member CreateOptimalPalette : int * bool * System.Drawing.Bitmap -> System.Drawing.Imaging.ColorPalette
Public Shared Function CreateOptimalPalette (colors As Integer, useTransparentColor As Boolean, bitmap As Bitmap) As ColorPalette

Parâmetros

colorCountcolors
Int32
useTransparentColor
Boolean
bitmap
Bitmap

Retornos

Aplica-se a