I'm trying to do something very simple. I have to draw a box with a border on it both on the screen and also onto the printer graphics surface.
But the printer graphics object appears to behave differently.To test this out, I am using a PictureBox and a PrintDocument to draw exactly the same thing in the exactly the same way:
private void printDocument1_PrintPage(object sender, System.Drawing.Printing.PrintPageEventArgs e)
e.HasMorePages = false;
private void pictureBox1_Paint(object sender, PaintEventArgs e)
private void DrawSquare(Graphics graphics)
int top = 100;
View Complete Post