General information
Category:
COM/DCOM and OLE Automation
Yes, the Export method of the MSGRAPH object saves to jpg/gif, etc. It's the same method that's used when you take the 'save to HTML' option manually. Do something like this from VFP:
Charts(1).Export("current_sales.gif","GIF"). I've tried this in VFP and it works good. You might also want to take a look at OfFice Web Components (OWC) which is free and easily automates the creation of charts dynamically from VFP for the web...
>I have a customer that wants to copy the chart created whith automation by VFP and save it as an image file like .jpg or .gif. so it can call this chart by IE.
>
>Does someone knows how to copy the chart and save it as a file ?
>
>Thanks in advance
>
>Peter
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only