I've been tasked with printing some reports in a windows application at work. There seems to be a lot of extra work associated with printing such as maintaining fonts, brushes, pagination, and wordwrap. Thus I decided to start with a printer helper class to keep track of pages, a style class to hold the Brush and Font, and another class to print to the Graphics object.
I first implemented the helper class as the PrintHelper has a PrintDocument; I've began to refactor my design and I'm now thinking that there should be a class that inherits from the PrintDocument instead.
I'll update as my design progresses.
Saturday, October 20, 2007
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment