Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to copy an Excel Chart and save it as JPG/GIf
Message
 
À
02/06/2003 13:34:05
Peter Wagner
Point Informática Ltda.
Limeira, Brésil
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00795319
Message ID:
00795323
Vues:
20
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
Fil
Voir

Click here to load this message in the networking platform