User (Legacy) Posted April 16, 2004 Report Share Posted April 16, 2004 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. Quote Link to comment Share on other sites More sharing options...
Software FX Posted April 19, 2004 Report Share Posted April 19, 2004 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). -- FP Software FX Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.