Jump to content
Software FX Community

Using VC++ and CFX98 COM DLL without user interface


Software FX
 Share

Recommended Posts

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...