Using CE 5.0, CF 2.0, C#
How do I do the equevelant in the CF?
Stream ImageStream = new WebClient().OpenRead(URL);
System.Drawing.Image img = System.Drawing.Image.FromStream(ImageStream);
picCover.Width = img.Width;
picCover.Height = img.Height;
picCover.Image = img;
Thanks
Ilya Tumanov [MS] - 10 Jan 2006 02:44 GMT
http://groups.google.com/group/microsoft.public.dotnet.framework.compactframewor
k/browse_frm/thread/415e611b56e71f3c/f9fb444665eaf955?q=image+url+picturebox&rnu
m=8#f9fb444665eaf955
Image.FromStream(stream) is replaced by new Bitmap(stream)
Best regards,
Ilya
This posting is provided "AS IS" with no warranties, and confers no rights.
*** Want to find answers instantly? Here's how... ***
1. Go to
http://groups-beta.google.com/group/microsoft.public.dotnet.framework.compactfra
mework?hl=en
2. Type your question in the text box near "Search this group" button.
3. Hit "Search this group" button.
4. Read answer(s).
> Using CE 5.0, CF 2.0, C#
>
[quoted text clipped - 10 lines]
>
> Thanks
Tomppa - 10 Jan 2006 03:17 GMT