Click here to Skip to main content
15,877,859 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
using (MemoryStream ms = new MemoryStream())
{
bmp.Save(ms, ImageFormat.Png);
BitmapImage bmpImage = new BitmapImage();
ms.Seek(0,SeekOrigin.Begin);
bmpImage.BeginInit();
bmpImage.StreamSource = ms;
bmpImage.CacheOption = BitmapCacheOption.OnLoad;
bmpImage.EndInit();
System.Windows.Controls.Image image = new System.Windows.Controls.Image();
image.Source = bmpImage;
image.Stretch = System.Windows.Media.Stretch.Uniform;
}

I want to display all images in flow document reader dynamically.
Posted

1 solution

Hi Refer this link, it may be helpful for you

http://msdn.microsoft.com/en-us/magazine/cc163371.aspx[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900