Hi Eric,
Thanks for using the Syncfusion products.
We have analysed reported requirement. You can achieve your
requirement by help of CopyToClipboard method in ChartArea.
Code Snippet [C#]:
void Savebtn_Click(object sender, System.Windows.RoutedEventArgs e)
{
Chart1.CopyToClipboard();
SaveFileDialog saveFileDialog = new SaveFileDialog();
string C_imageFilesFilter = "Bitmap(*.bmp)|*.bmp|JPEG(*.jpg,*.jpeg)|*.jpg;*.jpeg|Gif
(*.gif)|*.gif|TIFF(*.tiff)|*.tiff|PNG(*.png)|*.png|WDP(*.wdp)|*.wdp|Xps file
(*.xps)|*.xps|All files (*.*)|*.*";
saveFileDialog.Filter =
C_imageFilesFilter;
if (saveFileDialog.ShowDialog() == true)
{
Chart1.Save(saveFileDialog.FileName);
}
}
We have prepared a sample based on this and please find the
sample under the following location.
Note: If your requirement not based on this, please give me
more information about your requirement. This would be helpful for us to serve
you
Please let us know if you require further assistance on
this.
Thanks,
Karthikeyan V.
ExportChartofGUI_3d320fed.zip