Solved

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

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
WPF - Tooltips for ComboBox items 5 70
VB.NET (2008) - Refactoring Question 2 21
How to open form using item in Listbox. 8 21
vb.net 1 month apart 11 29
Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

770 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