Jump to content
Software FX Community
Sign in to follow this  

How to export as a Bitmap?

Recommended Posts

user1018    0



Im trying to perform a Copy to Clipboard (as a Bitmap) in my C++ program without having to use the toolbar. Im using my own toolbar, and I've tried the Export function but it does not appear to do anything.


m_chartPtr->Export(Cfx62::FileFormat_Bitmap, NULL);



Am I missing something?




Share this post

Link to post
Share on other sites
ExequielA    1

In order to achieve the behavior you are looking for, you need to pass a VARIANT object as the second parameter of the Export method. Please refer to the code below:

V_VT(&v) = VT_EMPTY;

I hope this helps.
  • Like 1

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this