Jump to content
Software FX Community

export chart properties to a stream?


Neoteny

Recommended Posts

I want to save changed chart properties to a text stream (in xml format) and then put it in a database. According to the help I should use a System.IO.Stream as argument, but that's a .NET object. So far I was only able to save the props to a file, but that is (for several reasons) not what I want.

Is there a way to get the props in xml format in memory, without writing them out to a file first?

Link to comment
Share on other sites

  • 2 weeks later...

The Export method receives a VARIANT as the second parameter, if you pass a variant with type VT_STREAM and containing a COM IStream implementation we will write into it.

In C++ building this VARIANT should be easy, it might not be as easy in other languages (e.g. VB)

JuanC

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.

×
×
  • Create New...