PRB: StdFont Rescales When Shared with Printer Object (190223)
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
- Microsoft Visual Basic Standard Edition, 32-bit, for Windows 4.0
- Microsoft Visual Basic Professional Edition, 16-bit, for Windows 4.0
- Microsoft Visual Basic Professional Edition, 32-bit, for Windows 4.0
- Microsoft Visual Basic Enterprise Edition, 16-bit, for Windows 4.0
- Microsoft Visual Basic Enterprise Edition, 32-bit, for Windows 4.0
This article was previously published under Q190223 SYMPTOMS
Using a StdFont object and printing to a Form or PictureBox, the font
appears to be the wrong size, but the Size property is correct.
CAUSE
The Form or PictureBox is sharing the StdFont object with the Printer
object which silently changes the Scale of fonts for proper printing.
RESOLUTION
Do not share a StdFont object between the Printer object and any other
object.
STATUS
This behavior is by design.
Modification Type: | Major | Last Reviewed: | 6/29/2004 |
---|
Keywords: | kbprb KB190223 |
---|
|