Jump to content
Software FX Community

Export and OLE Stream

User (Legacy)

Recommended Posts

Is it possible to export to an OLE Stream object in VB for ChartFX

Client-Server? If so, how is it done? The API Guide claims it can be done

but there is no sample or further explanation.

What I am trying to do is get the chart settings (visual attributes) into an

XML document. My application already stores content in an XML document and

I want to be able to add the chart settings to this document without having

to write them out individually.

Link to comment
Share on other sites

What version of Chart FX are you using ? I'm guessing is Chart FX 5.x (COM).

The export method can export to a BINARY stream, not to an XML.

If you have a pointer to an IStream object you can do:

chart.Export CHART_CFXOLEFILE, <stream pointer>

This however will write a BYNARY stream that CAN NOT be embedded into an XML

(unless you do a Base64 encoding).



Software FX

Link to comment
Share on other sites


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

  • Create New...