![]() | Steema Issues DatabaseNote: 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. |
Summary: | Export to Metafile doesn't work on FMX | ||
---|---|---|---|
Product: | FireMonkey TeeChart | Reporter: | yeray alonso <yeray> |
Component: | Export | Assignee: | yeray alonso <yeray> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | js, yeray |
Priority: | --- | ||
Version: | 32.210430 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows | ||
Chart Series: | --- | Delphi / C++ Builder RAD IDE Version: |
Description
yeray alonso
2021-06-09 15:25:25 EDT
Chart1.SaveToMetafileEnh(FileName) using FMX creates a simple PNG file and not a vector-oriented EnhancedMetaFile EMF as expected! VCL's export to metafile uses Vcl.Graphics.TMetafile from Embarcadero which isn't ported to FMX. To make TeeCreateMetafile to work on FMX (and SaveToMetafile, SaveToMetafileEnh and SaveToMetafileRect) we made our own TMetafile class inheriting Fmx.Graphics.TBitmap. OK, thanks! Which is the current version of TChart exporting to Fmx.Graphics.TBitmap? As far as I see, TeeChart FMX uses Fmx.Graphics.TBitmap in TeeCreateMetafile at least since v2010.00. |