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 - Export to Metafile
Summary: Export to Metafile
Status: RESOLVED FIXED
Alias: None
Product: FireMonkey TeeChart
Classification: Unclassified
Component: Chart (show other bugs)
Version: unspecified
Hardware: PC Windows
: --- enhancement
Target Milestone: ---
Assignee: Steema Issue Manager
URL: http://www.teechart.net/support/viewt...
Keywords:
: 2533 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-12-03 05:50 EST by yeray alonso
Modified: 2022-09-27 07:13 EDT (History)
3 users (show)

See Also:
Chart Series: ---
Delphi / C++ Builder RAD IDE Version:


Attachments
test project (1.48 KB, application/octet-stream)
2015-12-03 05:50 EST, yeray alonso
Details

Note You need to log in before you can comment on or make changes to this bug.
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.