Printing question
-
I'm new to the printing aspects of .Net and have a question. I have implemented the basic printing capabilities and have been able to direct a RichTextBox to a printer. I figured that when printing occured that same series of "drawing" routines called to display the text in the TextBox would be called again when drawing on the graphics object for the printer. However, what I have found is that my drawing methods are not called again to draw on the printer's graphics object (at least I assume so since the debugger dosen't break on my drawing code when printing). So my question is how is printing done? Does .Net take the control's output and format it on the graphics object without actually calling my drawing code? If so, is there a way to choose what parts of the TextBox get printed or for that matter reformat the appearance of the text to make it look different than "what you see"? Thanks, Eric