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

Export a Grid to an image

3 Answers 103 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Nazia
Top achievements
Rank 1
Nazia asked on 28 May 2013, 06:45 AM
Hi All,
I have a requirement to convert a Grid to an image. In Silverlight I used

 

 

Grid frameworkElement = LayoutRoot;
 
BitmapEncoder encoder = new PngBitmapEncoder();
 
var memoryStream = new MemoryStream();
 
Telerik.Windows.Media.Imaging.ExportExtensions.ExportToImage(frameworkElement, stream, encoder);

 

But the same does not works in metro apps...
Can you please guide me how to achieve the same in windows 8 apps?

3 Answers, 1 is accepted

Sort by
0
Accepted
Guy
Top achievements
Rank 1
answered on 28 May 2013, 04:37 PM
Hi,

It's not supported at the moment.  See the following thread:
http://www.telerik.com/community/forums/metro/chart-xaml/exporting-chart-to-excel-image-and-ppt.aspx

regards
Guy
0
Nazia
Top achievements
Rank 1
answered on 29 May 2013, 06:09 AM
Thanks for the response.
0
Colton3310
Top achievements
Rank 1
answered on 06 Jun 2013, 08:21 AM
Thanks.
Tags
General Discussions
Asked by
Nazia
Top achievements
Rank 1
Answers by
Guy
Top achievements
Rank 1
Nazia
Top achievements
Rank 1
Colton3310
Top achievements
Rank 1
Share this question
or