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).

--

FP

Software FX

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...