Hello ,
I am trying to copy the chart object to the clipborad as a meta file for printing.
Here, I used the CopyToClipboardMetaFile() method to do so.
Now the question!
Like you can see above, there's dotted line in the original copy.
When you copy this object to the clipbord as a meta file,
the dotted line changed to the sold line.
When I print this, this solid line printed as shown above, not as dotted line.
I would appreciate it, if you would tell me how to fix this problem.
Thanks.
When copying a chart to the clipbord as a meta-file!
When copying a chart to the clipbord as a meta-file!
Last edited by Seth on Mon Aug 16, 2004 10:59 am, edited 1 time in total.
Hi Seth,
which TeeChart Pro version are you using ?
It works fine here using the latest v6.05 and the following code :
TChart1.Export.CopyToClipboardMetafile (true)
which TeeChart Pro version are you using ?
It works fine here using the latest v6.05 and the following code :
TChart1.Export.CopyToClipboardMetafile (true)
Pep Jorge
http://support.steema.com
http://support.steema.com
Hello,
we just renewed the TeeChartPro license, hence has the lastest version. We reconfirmed the problem since your one worked fine. And, you were right. It worked OK here as well but there was one condition followed.
The clipboard window has to be in the right size!
For example, as you can see above, the width of window is wider than the original copy. But, if you resize this window to the right width, the solid line comes back to dotted line. In case of JPEG or BMP, the clipboard window size was no matter.
Thanks.
we just renewed the TeeChartPro license, hence has the lastest version. We reconfirmed the problem since your one worked fine. And, you were right. It worked OK here as well but there was one condition followed.
The clipboard window has to be in the right size!
For example, as you can see above, the width of window is wider than the original copy. But, if you resize this window to the right width, the solid line comes back to dotted line. In case of JPEG or BMP, the clipboard window size was no matter.
Thanks.
-
- Site Admin
- Posts: 1349
- Joined: Thu Jan 01, 1970 12:00 am
- Location: Riudellots de la Selva, Catalonia
- Contact:
Hi --
I can reproduce this behaviour using clipbrd.exe but when pasting the image into a Word document and resizing everything seems OK.For example, as you can see above, the width of window is wider than the original copy. But, if you resize this window to the right width, the solid line comes back to dotted line. In case of JPEG or BMP, the clipboard window size was no matter.
Thank you!
Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/
Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/
-
- Site Admin
- Posts: 1349
- Joined: Thu Jan 01, 1970 12:00 am
- Location: Riudellots de la Selva, Catalonia
- Contact:
Hi Seth,
I used the same method and then simply opened a Word Document and used Control-V to paste in the TeeChart metafile.what is the name of method I can use to copy the object onto the word? This problem came up when using CopyToClipboardMetafile (true).
The problem here is that two different Microsoft containers (Word and clipbrd.exe) seem to treat the TeeChart metafile differently, pointing to a problem with one of the containers rather than to a problem with the TeeChart metafile itself.If you can reproduce this behaviour there as well, can't you make a patch to correct this?
Thank you!
Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/
Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/