I want to draw a dashed & dotted link or line.
So please help me out.
You just need to set the Pen property appropriately. For example:
Pen p = new Pen(Color.Blue, 2); p.DashStyle = DashStyle.Dash; stroke.Pen = p;
Remember that you may not modify a Pen (or a Brush) after you have used it, such as when setting the Pen (or Brush) property of a GoShape.