Jump to content
Software FX Community

How to export a graph to clipboard


User (Legacy)
 Share

Recommended Posts

Hi, there,

I am a user of ChartFX98 and work with VC++ and VB.

When I use VB, I can export a graph to the clipboard as follows:

ChartFX1.Export(CHART_METAFILE, "")

But, in VC++, I cannot export.

If I write as follows:

m_ChartFX.Export(CHART_METAFILE, "");

then I get an error message "CHART_METAFILE: undeclared identifier".

Also,

m_ChartFX.Export(2, "");

produces another error message.

I'm working with ChartFX using "insert activeX control..." at the dialog

design mode.

How can I export a graph to clipboard?

Thanks in advance.

Link to comment
Share on other sites

The following code:

m_pChartFX->Export(CHART_METAFILE,L"");

Compiles and runs as expected when inserted in one of the samples.

It seems that instead of #import you are using the MFC's wrappers, we do not

recommend this option as it is limited in functionality.

Please use the #import as described in the docs. and sample programs.

--

FP

Software FX, Inc.

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...