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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Save Diagram as Image

Thread ID:

Created:

Updated:

Platform:

Replies:

103028 Mar 24,2012 02:37 PM UTC Apr 19,2012 12:01 PM UTC Silverlight 5
loading
Tags: Diagram
Piotr
Asked On March 24, 2012 02:37 PM UTC

Hi.

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?

Cheers,
Peter M.


Ramya Thirugnanam [Syncfusion]
Replied On March 29, 2012 12:20 AM UTC

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,
Regards,
Ramya




Piotr
Replied On April 4, 2012 07:02 AM UTC

Hi.

What's the status?

Peter.


Ramya Thirugnanam [Syncfusion]
Replied On April 5, 2012 03:33 AM UTC

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.
Assumption:
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,
Regards,
Ramya



Jorge Hernando Panqueva Alvarez
Replied On April 12, 2012 01:25 PM UTC

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.

Thanks



Jegan R [Syncfusion]
Replied On April 19, 2012 12:01 PM UTC

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.

Regards,
Jegan



ExportintoImage_bbd76840.zip

CONFIRMATION

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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

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

;