BUG: PictureBox Loses Graphics Printing from Win95 with 16-BitLast reviewed: November 19, 1996Article ID: Q149329 |
The information in this article applies to:
SYMPTOMSGraphics drawn on a picture box with the graphics methods do not appear when the form containing that picture box is printed using the PrintForm method. Bitmaps and/or icons print correctly. The AutoRedraw property has no affect on this problem.
WORKAROUNDTo work around this problem, please see the following article in the Microsoft Knowledge Base (and use the procedures detailed in that article):
ARTICLE-ID: Q141933 TITLE : How to Capture & Print the Screen, a Form, or any Window in VBAlternatively, the problem may also be avoided by setting AutoRedraw to true before any drawing occurs on the picturebox to be printed. Before printing, set the Image property of the Picture box to the Picture property. This can be accomplished with a line of code similar to:
Picture1.Picture = Picture1.ImageAfter these steps the graphics drawn on the picture box will print correctly.
STATUSMicrosoft has confirmed this to be an issue in the Microsoft products listed at the beginning of this article. Microsoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATION
Steps to Reproduce
|
Additional reference words: 4.00 vb4win vb416
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |