Information générale
Catégorie:
COM/DCOM et 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
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement