• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 495
  • Last Modified:

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

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
sn1fflez
Asked:
sn1fflez
1 Solution
 
SameerJagdaleCommented:
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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now