Windows Develop Bookmark and Share   
 index > Windows Forms General > print lines and columns
 

print lines and columns

Hi, how can we print lines and columns (like table) in our print document....actually i want to print the details in a listview which has column headers and values in each row...how we can do that in C#.Net 2 win apps????

pls help me.........thanks in advance

softengg_UK  Tuesday, July 17, 2007 12:42 AM
Just call e.Graphics.DrawLine() or DrawRectangle() in the PrintPage event handler.
nobugz  Wednesday, July 18, 2007 6:34 PM
Move it from C# General forum to Windows Forms forum for better responses.
Martin Xie - MSFT  Wednesday, July 18, 2007 6:10 PM
Just call e.Graphics.DrawLine() or DrawRectangle() in the PrintPage event handler.
nobugz  Wednesday, July 18, 2007 6:34 PM

You can use google to search for other answers

Custom Search

More Threads

• Form in taskbar
• help
• Is there any way to identify the window bounds (visible area of the System.Windows.Forms.Webbrowser control) on being scrolled?
• Custom TreeNode
• VS2005, VB. How do I stop groupboxes and or tabcontrol entering other groupboxes
• Appending two or more word documents to one word document
• index errors with a wrapping listbox class
• Insert Data from excel to SQL server
• Accessing a dataset from another form
• I want to write a code that's gonna display data into a chart when clicked