Home All Groups Group Topic Archive Search About
Author
7 Mar 2007 12:32 PM
richie
Hi can anyone tell me why assigning a ColorPalette to a bitmap in windows
vista fails?

Example


            Bitmap bitmap = new Bitmap(100, 100);
            ColorPalette pal = bitmap.Palette;

            bitmap.Palette = pal;

fails with parameter incorrect exception

Thanks in advance

Richard Perry

AddThis Social Bookmark Button