Solved

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

Posted on 2010-09-16
1
468 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
Comment Utility
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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

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…
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

772 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

15 Experts available now in Live!

Get 1:1 Help Now