Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to get chart from mschart control as image? 2

Status
Not open for further replies.

aliinal

Technical User
Jun 26, 2001
104
0
0
TR
Is it possible to get the chart drawn as image file from mschart object?

Or is there any other component that can save the output to an image file?

Any ideas are welcome :)

Thanks!
 
See thread222-243343

In that thread, strongm provides a mechanism for saving part of the screen as a jpg file. That should get you started.
Good Luck
--------------
As a circle of light increases so does the circumference of darkness around it. - Albert Einstein


 
You can use the MSChart method EditCopy to copy the image to the clipboard.

Example

MSChart1.EditCopy

If you paste in Excel it will paste the data. If you paste special and select picture it will paste the picture.

Good luck.

PS The format of the picture is a windows metafile.
This can be inserted into most microsofts applications.
 
Thanks tonebone!

thats what i want...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top