Posted 30 Jul 2012 Link to this post
Telerik.Windows.Controls.RadChart chart = ExtractRadChart(_canvasToPrint.Children);
if
(saveImage.ShowDialog() ==
true
)
{
BitmapEncoder encoder =
null
;
(saveImage.SafeFileName.ToLower().EndsWith(
".png"
))
encoder =
new
PngBitmapEncoder();
}
else
BmpBitmapEncoder();
using
(Stream fileStream = saveImage.OpenFile())
ExportExtensions.ExportToImage(chart, fileStream, encoder);
Posted 31 Jul 2012 Link to this post
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.
Posted 07 Aug 2012 Link to this post