Changes

Jump to: navigation, search

Drawing Graphics in C Sharp

17 bytes added, 18:37, 30 January 2008
Drawing Lines in C#
== Drawing Lines in C# ==
Lines are drawn in C# using the ''DrawLine()'' method of the Graphics Object. This method takes a pre-instantiated Pen object and two sets of x and y co-ordinates (the begin and end points of the line) as arguments. For example, to draw a line from co-ordinates (20, 20 ) to (200, 210 ) on our sample form:
<pre>

Navigation menu