Printing a Ruler using C# and GDI+
Details Related Types
Site:  C# Corner
Original URL:  http://www.c-sharpcorner.com/winforms/rulermg.asp
Summary:
If you misplaced your ruler, here's an application that will create one for you on your printer! Unfortunately, you'll still need a ruler the first time using it so that you can calibrate the measurement for your particular printer, but once you know the calibration value, you are all set with a fairly accurate ruler.
System.Drawing.Printing.PageSettings
System.Drawing.Printing.PrintDocument
System.Drawing.Printing.PrintPageEventArgs
System.Drawing.StringFormat
System.EventArgs
System.IO.StreamReader
System.IO.StreamWriter
System.Windows.Forms.NumericUpDown
System.Windows.Forms.PaintEventArgs
System.Windows.Forms.PrintDialog
System.Windows.Forms.PrintPreviewDialog
Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com