11.12. Getting into the Details: Custom Controlling and the Print Controller
At this point you must feel like a printer master and have the confidence you need to write a printing application. We have covered almost every aspect of printing in .NET, but guess what! There are still a few surprises hidden in System.Drawing.Printing. You will probably never use the classes that we’re going to discuss in this section, but it’s not a bad idea to know about them.
So far in this chapter we’ve created a PrintDocument object, created a PrintPage event handler, and called the Print method of PrintDocument.PrintDocument took care of everything internally for us. Now we will see how to control PrintDocument. For this, we need a print controller, which controls ...
Get Graphics Programming with GDI+ now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.