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 |