Solved

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

Posted on 2010-09-16
1
471 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
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…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…
A company’s greatest vulnerability is their email. CEO fraud, ransomware and spear phishing attacks are the no1 threat to a company’s security. Cybercrime is responsible for the largest loss of money to companies today with losses projected to r…

947 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now