All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
You can export any UIElement you want straight with this class:
private
void
ExportChartArea(
object
sender, RoutedEventArgs e)
{
SaveFileDialog dialog =
new
SaveFileDialog();
dialog.DefaultExt =
"*.png"
;
dialog.Filter =
"PNG File (*.png) | *.png"
if
(!(
bool
)dialog.ShowDialog())
return
Stream fileStream = dialog.OpenFile();
Telerik.Windows.Media.Imaging.ExportExtensions.ExportToImage(
this
.RC1.DefaultView.ChartArea, fileStream,
Telerik.Windows.Media.Imaging.PngBitmapEncoder());
fileStream.Close();
}
I hope this information helps.