Software FX Posted October 27, 2000 Report Share Posted October 27, 2000 In order to export Chart FX to an Image, you must first give it a size, otherwise we wouldn't know what size of chart you want. There are two ways of doing this: i) Use the Creation method (in Chart FX) to create a chart Windows previous to exporting the chart. This is the easiest but not the most efficient. ii) Create a memory Device Context DC, attach a bitmap to it and use the Paint method to draw the chart into that bitmap. Then take the bitmap selected in the HDC and save it. This is the most efficient way but involves a lot of Windows API manipulation. Percy Dyer Software FX 5200 Town Center Circle, Tower I, Suite 450 Boca Raton, FL 33486. USA Toll Free: (800) 392-4278 Telephone: (561) 392-5089 Tech Support: (561) 392-2023, Ext. 207 Fax: (561) 392-3328 / 998-2383 -----Original Message----- From: Orhan EKSI [mailto:oeksi@innova-turk.com] Sent: Monday, October 23, 2000 4:57 AM Posted To: General Conversation: Using VC++ and CFX98 COM DLL without user interface Subject: Using VC++ and CFX98 COM DLL without user interface Hello, I'm using CFX98 COM DLL with Visual C++. I want to create a chart and export it as a bitmap file without displaying it. I tried the sample " Sample using VC++ and CFX98 COM DLL" it creates a window and displays the chart and I can export the chart in that example. But how can i export the chart without attaching it to any dialog or window ? Thanks. Orhan EKSI Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.