How To Use a PictureBox to Control Orientation Printing a Form (178076)
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 Q178076 SUMMARY
When using the PrintForm method to print a Form, you have no control over
the orientation. This article describes a way to use a PictureBox to print
the client area of a Form in either orientation.
REFERENCES
If you need to print more than just the client area of a Form or if you
need to scale the printout, please see the following article in the
Microsoft Knowledge Base:
161299 How To Capture and Print the Screen, a Form, or Any Window
For more information, please see the following articles in the Microsoft Knowledge Base:
230502 How To Print a Form That is Too Large for the Screen or Page
194580 How To Print a Composite Image From a RichTextBox
146022 How To Set Up the RichTextBox Control for WYSIWYG Printing
242483 BUG: Error 486 or 482 Occurs When Using PrintForm
198901 SAMPLE: PageSet.exe Programmatically Changes Default Printer Orientation
Modification Type: | Minor | Last Reviewed: | 7/13/2004 |
---|
Keywords: | kbhowto KB178076 |
---|
|