Software FX Posted November 13, 2000 Report Share Posted November 13, 2000 Good morning, There is not a "GetAsMetafile" routine, the property we support is CFX_ID_EXPORTMETAFILE or Picture1.Picture = ChartFX1.GetPicture CHART_METAFILE which save a chart as a metafile. Following your phone call you already save the chart as a metafile, and now you are using a 3rd party component to built that Metafile into your .pdf file. Since ChartFX Client Server already did its part which was saving your chart as a metafile, I recommend to call your other 3rd party product seller and ask how that component works and the proper code to accomplish what you need. Regards, Boca Raton, FL. USA Tech Support: (561) 392-2023, Ext. 207 -----Original Message----- From: Sanford Aranoff [mailto:saranoff@nusinc.com] Sent: Tuesday, November 07, 2000 10:51 AM Posted To: General Conversation: Metafile Subject: Metafile Wish to export a chart made with chartfx to a component that will create a pdf file. The pdf code is: "1. Create a TWPOImage 2. Assign the metafile to it. I think the code was Image.Picture.Assign( YourChart.GetAsMetafile ); // "YourChart" is a TChart object ! 3. insert it as usual" What is the GetAsMetafile routine? Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.