Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 1380

Summary: Export to Metafile
Product: FireMonkey TeeChart Reporter: yeray alonso <yeray>
Component: ChartAssignee: Steema Issue Manager <issuemanager>
Status: RESOLVED FIXED    
Severity: enhancement CC: js, luchieco, peter.carr
Priority: ---    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
URL: http://www.teechart.net/support/viewtopic.php?f=17&t=15883
Chart Series: --- Delphi / C++ Builder RAD IDE Version:
Attachments: test project

Description yeray alonso 2015-12-03 05:50:19 EST
Created attachment 529 [details]
test project

The CopyToClipboardMetafile doesn't work on FMX
Test project attached.
Comment 1 Luciano Chieco 2016-08-19 10:01:32 EDT
Same bug happens to methods SaveToMetafile and SaveToMetafileEnh.
Comment 2 Joachim Magera 2022-05-31 11:41:34 EDT
Both methods are still not working despite latest bugfix #2430
Comment 3 yeray alonso 2022-09-23 06:48:53 EDT
Just corrected CopyToClipboardMetafile to use TeeCreateMetafile internally.

Note that TeeCreateMetafile doesn't use a TMetafile but a TBitmap, which also affects SaveToMetafile and SaveToMetafileEnh.
See #2430 and #2534 for a related explanation:
https://www.steema.com/bugs/show_bug.cgi?id=2430
https://www.steema.com/bugs/show_bug.cgi?id=2534
Comment 4 yeray alonso 2022-09-23 06:51:57 EDT
*** Bug 2533 has been marked as a duplicate of this bug. ***
Comment 5 yeray alonso 2022-09-27 07:13:17 EDT
Can't use IFMXClipboardService in XE2, so I had to skip that and CopyToClipboardMetafile will do nothing in XE2.

As explained above, from XE3, CopyToClipboardMetafile should return a TBitmap.