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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...