16
ImageSource
をWP32でMemoryStream
からC#を使用して取得するにはどうすればよいですか? MemoryStream
をImageSource
に変換すると、wpfの画像として表示されますか?MemorystreamからC#wpfの画像ソースを取得
ImageSource
をWP32でMemoryStream
からC#を使用して取得するにはどうすればよいですか? MemoryStream
をImageSource
に変換すると、wpfの画像として表示されますか?MemorystreamからC#wpfの画像ソースを取得
using (MemoryStream memoryStream = ...)
{
var imageSource = new BitmapImage();
imageSource.BeginInit();
imageSource.StreamSource = memoryStream;
imageSource.EndInit();
// Assign the Source property of your image
image.Source = imageSource;
}
+1、私は毎日別の時間節約のプロパティについて学ぶ... – user7116