O'Reilly logo

Graphics Programming with GDI+ by Mahesh Chand

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required