BUG: Graph Control Does Not Print When DrawMode Is Set to 5Last reviewed: June 2, 1997Article ID: Q150222 |
The information in this article applies to:
SYMPTOMSIf the DrawMode property of the Graph control is set to 5 when an application is running on Windows 95, nothing is printed. Under Windows NT, printing is not reliable either.
STATUSMicrosoft has confirmed this to be an issue in the Microsoft products listed at the beginning of this article. Microsoft is researching this issue and will post new information here in the Microsoft Knowledge Base as it becomes available.
WORKAROUNDUse the PaintPicture method to print out the graph. The following code enables the graph to print out consistently:
Printer.PaintPicture Graph1.Picture, Printer.Width / 4, _ Printer.Height / 4, Printer.Width / 2, Printer.Height / 2 Printer.EndDocWith the code above, the upper left-hand corner of the graph is positioned a quarter of the width of the paper across and down from the upper-left hand corner of the paper. The graph is made half as high and half as tall as the paper. For additional options, please see the online Help for the PaintPicture method.
MORE INFORMATION
Steps to Reproduce Problem
|
Keywords : APrgGrap PrgCtrlsCus vb432 vb4win vb5all
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |