This is a migrated thread and some comments may be shown as answers.

Saving chart to image

1 Answer 134 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Nick Adams
Top achievements
Rank 1
Nick Adams asked on 26 Aug 2008, 02:21 PM
I would like to be able to create an image of a chart created in my application so that i can attach it to an email or save as an image for archiving.  Can I create an image (bitmap,gif,jpeg,etc) object (System.Drawing.Image?) from the RadChart class with a given size or resolution (create an image of the chart scaled to 6"x9")?

1 Answer, 1 is accepted

Sort by
0
Ves
Telerik team
answered on 27 Aug 2008, 08:46 AM
Hi Nick,

You can use RadChart.Save method to save the chart in an image. You can use one of the overloads, which provide a parameter to define the image format or you can set the ChartImageFormat property before saving it. You will also need to adjust the size before calling this method.

Kind regards,
Ves
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Chart (Obsolete)
Asked by
Nick Adams
Top achievements
Rank 1
Answers by
Ves
Telerik team
Share this question
or