I have the code for the attached file printing fine (the word 'test'), but I need to find out how to parse my text file document into individual pages.
How does that work?
As you can see in the demo which I have working, this line:
prints one word. I have a multi-page text file. Must I iterate through the lines and pass each line into DrawString()? Is there an easier way?
Also, if I am to iterate, then I presume I must also determine if I am near a page break. And this is starting to sound like a Printer Device Context object, which I hope I do not need to deal with.
Please let me know.