1
Loading signature into a PictureBox control
I’m trying to load a signature into a pictureBox but its giving the “Parameter not valid” error message when it tries to convert into bitmap from the MemoryStream store. Refer code below. code: public Bitmap getSignature() { MemoryStream ms1 = new MemoryStream(Signature); Bitmap signature = new Bitmap(ms1); return signature; } I used the same code [...]
Answer Question
| December 15, 2008 2:35 AM
Binary data, Bitmap, MemoryStream class, PictureBox class, Software development
I’m trying to load a signature into a pictureBox but its giving the “Parameter not valid” error message when it tries to convert into bitmap from the MemoryStream store. Refer code below. code: public Bitmap getSignature() { MemoryStream ms1 = new MemoryStream(Signature); Bitmap signature = new Bitmap(ms1); return signature; } I used the same code [...]
1





