June 2003
Intermediate to advanced
800 pages
34h 20m
English
You want to print complex documents with multiple pages and possibly print several different documents at once.
Place the information you want to print into a custom class that derives from PrintDocument, and set the PrintPageEventArgs.HasMorePages property to True as long as there are pages remaining.
The PrintDocument.PrintPage event allows you to print only a single page. If you need to print more pages, you need to set the PrintPageEventArgs.HasMorePages property to True in the PrintPage event handler. As long as HasMorePages is True, the PrintDocument class will continue firing PrintPage events, one for each page. However, it’s up to you to track what page you are on, what data ...
Read now
Unlock full access