public static IVisio.Shape DrawLine(this IVisio.Page page, Drawing.Point p1, Drawing.Point p2) { var surface = new Drawing.DrawingSurface(page); var shape = surface.DrawLine(p1.X, p1.Y, p2.X, p2.Y); return(shape); }
public static IVisio.Shape DrawLine(this IVisio.Shape shape, Drawing.Point p1, Drawing.Point p2) { var surface = new Drawing.DrawingSurface(shape); var s = surface.DrawLine(p1, p2); return(s); }
public static IVisio.Shape DrawLine(this IVisio.Shape shape, Drawing.Point p1, Drawing.Point p2) { var surface = new Drawing.DrawingSurface(shape); var s = surface.DrawLine(p1, p2); return s; }