Simple printing question...I think

dakota97

Well-known member
Joined
Nov 14, 2003
Messages
113
Location
Pennsylvania
Hi all,

How can I print a simple horizontal line across the entire width of the page? What Im trying to do is create a .txt file that has information from the DB and some of the controls on my form. The infomration needs to be separated on the printed page, so all I need is to be able to draw a horizontal line accross the page.

Thanks in advance,

Chris
 
in form1_paint
x1= 0
y1= me.height/2

x2 = me.width
y2 = me.height/2

e.graphis.drawliine(brushes.black, x1,y1,x2,y2).. somethin like that (it might require a PEN argument rather than a brush, im not sure)

pent
 
dakota97 said:
Hi all,

How can I print a simple horizontal line across the entire width of the page? What Im trying to do is create a .txt file that has information from the DB and some of the controls on my form. The infomration needs to be separated on the printed page, so all I need is to be able to draw a horizontal line accross the page.

Thanks in advance,

Chris
A simple text file???

using TextWriter to a file stream???

PHP:
string _textLine = new string( _ , 80 );
_textWriter.Writeln( _textLine );
 
Back
Top