Drawing line
Can we draw a line in C# using line command only without passing "Pen" ?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
VulpesPosted Jun 24, 2012, 1:03 PM
If so, then you can't draw line without passing a 'Pen' argument because, as you'll see from the documentation, all four overloads of this method require a Pen object:
http://msdn.microsoft.com/en-us/library/system.drawing.graphics.drawline.aspx