public static IVisio.Shape DrawLine(this IVisio.Page page, Geometry.Point p1, Geometry.Point p2) { var surface = new SurfaceTarget(page); var shape = surface.DrawLine(p1, p2); return(shape); }