Printing Vertical and Horizontal Lines

webwired

Member
Joined
Feb 9, 2009
Messages
9
Programming Experience
1-3
I'm creating a program so that our company can more quickly print out our employee certifications, but the problem I'm coming to is that the certifications need a black line from around the inside... So I need to know how to print vertical and horizontal lines...

There is one other small thing ... I put a printpreviewdialog box on the form so that I could see it as I'm creating it... instead of printing each time... Well, the certifications are Landscape, I set this, "singleReceiverPrintDocument.DefaultPageSettings.Landscape = True" and it prints just fine in Landscape but the print preview only shows it as portrait, so it doesn't do me any good to use it...
 
Preview dialog display orientation correctly, the Landscape property has to be set for the document it is displaying.

e.Graphics.DrawLine(...)

Graphics Class (System.Drawing)
 
Back
Top