Is there a way to set the DPI settings for the chart image. I did notice an internal property for BitmapResolution;however I did not see anyway thru the control to set that.
While I could use the code below to save a 300dpi image of the chart, isn't the source images (the generated chart) dpi set to the chart defaults?
I would not want to take at 96dpi image and convert it into a 300dpi image, where are those extra dpi's gonna come from? I think of that like taking a 200px X 200px image and resizing to 400px X 400px, which would not produce the same quality image I would get pixelation.
I have created a Chart generator control where the user can enter data etc.. and generate the chart from the data. Then I want to allow them to save the generated chart image at a minimum of 300dpi since this will be added to a print ready pdf. I would want a high quality image produced since this is for printing.
I appreciate any information or advice on this matter.
Thank you!
While I could use the code below to save a 300dpi image of the chart, isn't the source images (the generated chart) dpi set to the chart defaults?
System.Drawing.Bitmap image = RadChart1.GetBitmap() as System.Drawing.Bitmap;
image.SetResolution(300, 300);
image.Save(@"C:\myimage.png");
I would not want to take at 96dpi image and convert it into a 300dpi image, where are those extra dpi's gonna come from? I think of that like taking a 200px X 200px image and resizing to 400px X 400px, which would not produce the same quality image I would get pixelation.
I have created a Chart generator control where the user can enter data etc.. and generate the chart from the data. Then I want to allow them to save the generated chart image at a minimum of 300dpi since this will be added to a print ready pdf. I would want a high quality image produced since this is for printing.
I appreciate any information or advice on this matter.
Thank you!