Getting Exception: 'ImageSize.Width' should be between 1 and 256
Hi All,
I am adding an image (having Dimensions: 467x467) to an ImageList and setting the size of image list equal to this image as:
myImageList.ImageSize=myImage.Size;
but I am getting the exception: 'ImageSize.Width' should be between 1 and 256.
Is it possible to have an Image in the ImageList of bigger Size than 256, or any other workaround.
Thanks.
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Scott LysleRank #49 · 31K reputationPosted Jun 22, 2008, 4:19 AM EDT
this
.pictureBox1.Image = global::NameOfApp.Properties.Resources.NameOfImage;