copy pdf formatted image to the Clipboard

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Candy
Newbie
Newbie
Posts: 57
Joined: Mon Apr 26, 2010 12:00 am
Contact:

copy pdf formatted image to the Clipboard

Post by Candy » Fri Sep 19, 2014 2:32 am

Hello,
I use the following code to save the chart to the Clipboard with pdf format, and when I paste it in a document ,it will be messy code, not a image. What should I do?Thanks!
Code:

Code: Select all

tChart1.Export.Image.PDF.CopyToClipboard();

Christopher
Guru
Posts: 1603
Joined: Fri Nov 15, 2002 12:00 am

Re: copy pdf formatted image to the Clipboard

Post by Christopher » Fri Sep 19, 2014 8:58 am

Candy wrote:Hello,
I use the following code to save the chart to the Clipboard with pdf format, and when I paste it in a document ,it will be messy code, not a image. What should I do?Thanks!
Code:

Code: Select all

tChart1.Export.Image.PDF.CopyToClipboard();
I'm not sure if it is possible to copy the contents (text, images etc.) of an entire PDF file to the clipboard. Have you seen it done?
Best Regards,
Christopher Ireland / 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

Candy
Newbie
Newbie
Posts: 57
Joined: Mon Apr 26, 2010 12:00 am
Contact:

Re: copy pdf formatted image to the Clipboard

Post by Candy » Fri Sep 19, 2014 9:35 am

Hello,
I'm not sure,so I want to know what the function about this method?
By other words, this method can't used for the pdf format? Thanks!

Christopher
Guru
Posts: 1603
Joined: Fri Nov 15, 2002 12:00 am

Re: copy pdf formatted image to the Clipboard

Post by Christopher » Mon Sep 22, 2014 8:34 am

Candy wrote:Hello,
I'm not sure,so I want to know what the function about this method?
By other words, this method can't used for the pdf format? Thanks!
No, as you have seen, the CopyToClipboard() method of the PDF export class does not work as expected. This method will be deprecated in future versions of TChart.
Best Regards,
Christopher Ireland / 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

Post Reply