We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Save Diagram as Image

Thread ID:





103028 Mar 24,2012 10:37 AM Apr 19,2012 08:01 AM Silverlight 5
Tags: Diagram
Asked On March 24, 2012 10:37 AM


Is it possible to save diagram as Image without showing html page with silverlight view? I need to generate diagram as image and pu it into my report. Maybe Is it possible to export or save diagram to xml in silverlight diagram control and open import created xml in ASP.NET WebDiagram control and save it as image by using DiagramWebControl.ExportDiagramAsImage()method?

Peter M.

Ramya Thirugnanam [Syncfusion]
Replied On March 28, 2012 08:20 PM

Hi Peter,
With regards to Export Silverlight diagram control as image using DiagramWebControl.ExportDiagramAsImage()method, we are working on your requirement. We will update you with the status of your requirement on April 2nd 2012.
Please let us know if you have any concerns,

Replied On April 4, 2012 03:02 AM


What's the status?


Ramya Thirugnanam [Syncfusion]
Replied On April 4, 2012 11:33 PM

Hi Peter,
Sorry for the delay in getting back to you.
With regards to, currently we do not have support to import the Serialized XML (from Silverlight) into Asp.NET WebDiagram control and save it as image by using DiagramWebControl.ExportDiagramAsImage()method.
We assume that your requirement is to serialize the Diagram into XML and save into DataBase and then render the XML as Image.
Details about XML serialization in Silverlight and save in Database.
Link: http://forums.silverlight.net/t/131175.aspx/1
However, we will create a sample based on your requirement. We will update you with the sample on 9th April 2012.
Please let us know if you have any concerns,

Jorge Hernando Panqueva Alvarez
Replied On April 12, 2012 09:25 AM

Hi Ramya,

I'm having the same requirement for the Diagram Control, I need to save the Diagram as an image. I would like that you please send me the sample based in this requirement.


Jegan R [Syncfusion]
Replied On April 19, 2012 08:01 AM

Hi Peter, Jorge,

Currently there is no interoperability between Diagram Silvelright and ASP.NET. However, content of the silverlight diagram can be exported as an image file using ‘Image Tool’.

With regards to exporting the Diagram into Image format, we do not have support to export Diagram as image at present. The API’s for converting as images are not available in Silverlight. However, there is a Codeplex project that supports exporting Visual elements into image file. We have provided the sample and a Link to this tool. Please refer to them from the attachment.

Codeplex project Link: http://imagetools.codeplex.com/wikipage?title=Write%20the%20content%20of%20a%20canvas%20to%20a%20file

Please let us know if you need any further details.




This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon