 
        0
    
    
    
        
        
        Under review
        
        
    
    
    
    
    
    How to print a plot in WPF
Does anyone have experience printing Plots?  I have a printing library that I am using, and it can take a bitmap or image to add to the page, and right now I am using this code:
Bitmap bitmap;
This works, but the bitmap is very blurry. Is there a better way to do this.
Thanks!
Bitmap bitmap;
            using (var outStream = new MemoryStream())
            {
                var pngExp = new PngExporter();
                var source = pngExp.ExportToBitmap(model);
                var enc = new PngBitmapEncoder();
                enc.Frames.Add(BitmapFrame.Create(source));
                enc.Save(outStream);
                bitmap = new Bitmap(outStream);
            }
This works, but the bitmap is very blurry. Is there a better way to do this.
Thanks!
Служба підтримки клієнтів працює на UserEcho
 Питання
		
		
	
Питання 
	
 
                
increase width/height of the exported image?
export to other format, like pdf?