How to implement scaled printing in an MFC/OLE container (138266)
The information in this article applies to:
- The Microsoft Foundation Classes (MFC), when used with:
- Microsoft Visual C++ for Windows, 16-bit edition 1.5
- Microsoft Visual C++ for Windows, 16-bit edition 1.51
- Microsoft Visual C++ for Windows, 16-bit edition 1.52
- Microsoft Visual C++, 32-bit Editions 2.0
- Microsoft Visual C++, 32-bit Editions 2.1
- Microsoft Visual C++, 32-bit Editions 2.2
- Microsoft Visual C++, 32-bit Editions 4.0
- Microsoft Visual C++, 32-bit Editions 4.1
- Microsoft Visual C++, 32-bit Enterprise Edition 4.2
- Microsoft Visual C++, 32-bit Professional Edition 4.2
- Microsoft Visual C++, 32-bit Enterprise Edition 5.0
- Microsoft Visual C++, 32-bit Professional Edition 5.0
- Microsoft Visual C++, 32-bit Enterprise Edition 6.0
- Microsoft Visual C++, 32-bit Professional Edition 6.0
- Microsoft Visual C++, 32-bit Learning Edition 6.0
This article was previously published under Q138266 SUMMARY
This article shows by example how to implement scaling properly.
Printing an embedded object from an AppWizard-generated OLE container
application may cause the printout of the embedded object to appear
too small.
The developer of an OLE container must implement the code to scale an
embedded object properly from the screen device to the printer device. If
only the screen device is considered, the embedded object will appear too
small on a printout.
Modification Type: | Major | Last Reviewed: | 9/1/2005 |
---|
Keywords: | kbContainer kbGDI kbhowto kbprint KB138266 kbAudDeveloper |
---|
|