Hi what is the best way to get the best qulaity picture from a chart
here is the code I use. the PlotREportchart just plots the data
quantChart.Chart.Aspect.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.HighQuality;
quantChart.Chart.Aspect.TextRenderingHint = System.Drawing.Text.TextRenderingHint.AntiAlias;
PlotReportChart(type, legends, percentile_idx, language);
Stream stream = new MemoryStream();
quantChart.Chart.Export.Image.JPEG.Height = height;
quantChart.Chart.Export.Image.JPEG.Width = width;
quantChart.Chart.Export.Image.JPEG.GrayScale = false;
quantChart.Chart.Export.Image.JPEG.Quality = 100;
quantChart.Chart.Export.Image.JPEG.Save(stream);
Image img = Image.FromStream(stream);
How to get the best Quality
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Luke,
You could try using other supported image formats. Have a look at All Features\Welcome !\Exporting\Chart Picture.
You could try using other supported image formats. Have a look at All Features\Welcome !\Exporting\Chart Picture.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |