Presentation .NET > Tutorial > Draw line

The following example shows you how to draw a line

C# example
VB example