Is there a work around for loading a BitmapImage from a MemoryStream, given that SetSource does not seem to be supported yet?
Code: Select all
void proxy_GetImageCompleted(object sender, GetImageCompletedEventArgs e)
byte byteArray = e.Result.Image;
using (MemoryStream stream = new MemoryStream(byteArray, 0, byteArray.Length))
BitmapImage b = new BitmapImage();
imageControl.Source = b;
Users browsing this forum: No registered users and 2 guests