Hi
Please let me know how to export a teechart to Powerpoint?
I have ateechart on windows form and a button. when clecked it should create a PPT and insert a slide and then add this teechart to that slide and close the PPT giving a message that "the chart is saved/exported in <name> Powerpoint file"
Export teechart to Powerpoint
Re: Export teechart to Powerpoint
A swift reply will be appreciated as its a very urgent..many thanks in advance.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Export teechart to Powerpoint
Hi shikha,
I have also added your request to the wish-list to be considered for inclusion in future releases.
Thanks in advance.
I'm afraid this is not possible with TeeChart. Currently you can export a chart to an image into a file or a MemoryStream. You could try searching for .NET code on how to create a PowerPoint document and inserting and image to a slide.Please let me know how to export a teechart to Powerpoint?
I have ateechart on windows form and a button. when clecked it should create a PPT and insert a slide and then add this teechart to that slide and close the PPT giving a message that "the chart is saved/exported in <name> Powerpoint file"
I have also added your request to the wish-list to be considered for inclusion in future releases.
shikha, your first post on this thread was about 2 hours 30 minutes ago. We try to reply to all forums threads in a timely fashion. I guess you'll understand we are very busy, as I imagine you also are, working on enhancing TeeChart and attending all client requests. In my opinion 2 hours and 30 minutes delay for a direct reply from the technical department is not bad at all. So I'd appreciate you being a little more patient in the future. We'll do our best to reply all threads as fast as we can.A swift reply will be appreciated as its a very urgent..many thanks in advance.
Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: Export teechart to Powerpoint
Thanks for the reply. Please give one example how to do this with memorystream ? also please let me know if its possible to save the chart to clipboard.. if yes could you please provide for that also?
sorry for sending a reminder at short interval.. i will take care of it in future.. many thanks for your help..
sorry for sending a reminder at short interval.. i will take care of it in future.. many thanks for your help..
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Export teechart to Powerpoint
Hi shikha,
Hope this helps!
Yes, it's very simple, for example:Thanks for the reply. Please give one example how to do this with memorystream ?
Code: Select all
System.IO.MemoryStream stream = new System.IO.MemoryStream();
tChart1.Export.Image.JPEG.Save(stream);
stream.Position = 0;
pictureBox1.Image = Image.FromStream(stream);
Yes, you just need to do this:also please let me know if its possible to save the chart to clipboard.. if yes could you please provide for that also?
Code: Select all
tChart1.Export.Image.JPEG.CopyToClipboard();
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |