Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to copy an Excel Chart and save it as JPG/GIf
Message
 
To
02/06/2003 13:34:05
Peter Wagner
Point Informática Ltda.
Limeira, Brazil
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00795319
Message ID:
00795323
Views:
21
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
Map
View

Click here to load this message in the networking platform