Hour 10. Printing with .NET

   

Printing is a common feature that most desktop applications implement in some form. Some applications produce simple printouts, whereas other applications such as word processors and graphic editors produce WYSIWYG output. When you're writing a managed Visual C++ .NET application, whatever you are printing is handled through the .NET Framework's printing classes and GDI+.

In this hour's lesson, you will modify the MDIWindowsForms application from Hour 7, "Working with Windows Forms," to add printing capabilities using GDI+.

In this hour you will:

  • Add a new toolbar button and menu option to the application

  • Create a print preview option that shows a document in WYSIWYG format before it is printed

  • Display a printer dialog that allows the user to choose which printer to use

  • Use GDI+ to produce the output on the printer device


   
Top


Sams Teach Yourself Visual C++. NET in 24 Hours
Sams Teach Yourself Visual C++.NET in 24 Hours
ISBN: 0672323230
EAN: 2147483647
Year: 2002
Pages: 237

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net