J
Jeroen Ceuppens
Hi,
I want to "translate" this code into working code for the CF:
Can anybody give me tips about what could be the best way to make a
ColorPalette class?
Or how the values in the ColorPalette are stored?
Thx
JC
ColorPalette pt = bmp.Palette;
int n=1;
for (int m = 0; m < 256; m++)
{
argb = (int[])arrayList[m];
pt.Entries[m] = Color.FromArgb( argb[0],argb[1],argb[2],argb[3]);
}
I want to "translate" this code into working code for the CF:
Can anybody give me tips about what could be the best way to make a
ColorPalette class?
Or how the values in the ColorPalette are stored?
Thx
JC
ColorPalette pt = bmp.Palette;
int n=1;
for (int m = 0; m < 256; m++)
{
argb = (int[])arrayList[m];
pt.Entries[m] = Color.FromArgb( argb[0],argb[1],argb[2],argb[3]);
}