Solved

How does one copy the graph displayed in an MsChart control onto the windows clipboard?

Posted on 2010-09-16
1
483 Views
Last Modified: 2012-05-10
Hello everyone,

I have a form which contains an AxMSChart20lib.AxMsChart Control. I would like to take the contents of this chart control and put them in the windows clipboard. Another task I need to know how to program is printing the contents of the chart control. What is the most efficient way to accomplish this? Any help will be appreciated.

Thanks.
0
Comment
Question by:sn1fflez
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 13

Accepted Solution

by:
SameerJagdale earned 500 total points
ID: 33698465
check the EditCopy method that is available to Chart control, this will copy the chart to clipboard, treat this as a bitmap. retrieve the bitmap from clipboard and print it.
check the below link to get some source code. -http://social.msdn.microsoft.com/forums/en-US/vbgeneral/thread/2510cd40-623e-4924-86a2-24606f5f6cde/
 
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
Introduction When many people think of the WebBrowser (http://msdn.microsoft.com/en-us/library/2te2y1x6%28v=VS.85%29.aspx) control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question