Creating an image file to be included in XML Report?

  • Thread starter Thread starter Connor T
  • Start date Start date
C

Connor T

Hi,

I currently create an image on my form, using GDI ( It's a pie chart! )

I now need to save that image as a jpg ( On demand ) so that it can be used
in an xml report.

How can I do this? I can't see any way initially to do it, hope im wrong?

Rgds,
Dan
 
XML is a text only data format.
You could have the address of your image, then reference this from some
report that you generate?
 
XML is a text only data format.
You could have the address of your image, then reference this from some
report that you generate?

Yes, thats precisely what I want to do. I want to generate the image, (
which ive already done on screen ), save it to jpg, and reference it in my
xml report??

Rgds,
Dan
 
</snip>

It is no problem to include an image in a xml file you can easily
encodebase64 the file ( binary to text ) include it and decode it on the
other side to make it a picture again
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top