BUG: EditCopy Incorrectly Copies Series Edge/Line Color of Chart (188006)
The information in this article applies to:
- Microsoft Visual Basic Learning Edition for Windows 5.0
- Microsoft Visual Basic Learning Edition for Windows 6.0
- Microsoft Visual Basic Professional Edition for Windows 5.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q188006 SYMPTOMS
When you use the Editcopy method of the MSChart control to copy a chart to
the clipboard, the Edge/Line color and style of the series is not correct.
RESOLUTION
To work around this problem, contain the MSChart control within a
PictureBox and then use Win32 API functions to capture the PictureBox
image. For more information about capturing an image using the Win32 API
functions, see the following article in the Microsoft Knowledge Base:
161299 HOWTO: Capture and Print the Screen, a Form, or any Window
(You will be adding code from the above article if you use the procedures
below.)
The workaround is described in more detail in the MORE INFORMATION section
of this article.
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products
listed at the beginning of this article.
Modification Type: | Major | Last Reviewed: | 5/13/2003 |
---|
Keywords: | kbbug KB188006 |
---|
|