Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Export to PNG/PDF (Read 1542 times)
Andrés
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 1
Joined: Sep 5th, 2015
Export to PNG/PDF
Sep 5th, 2015 at 10:57pm
Print Post  
Hello.

Is it possible that, once you have a graph, to export it as PNG or PDF?

Thanks in advance!
Andrés.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Export to PNG/PDF
Reply #1 - Sep 7th, 2015 at 5:05am
Print Post  
Hi,

You could call the toDataURL method of Canvas element and assign the result to an Img element, which users could then save or print:
http://mindfusion.eu/Forum/YaBB.pl?num=1410270984/1#1

Export to PDF is not supported at this time in standalone JavaScript library; there's a PdfExporter component provided with MindFusion .NET server controls.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint