Exemplo n.º 1
0
        public static IVisio.Shape DrawPolyline(this IVisio.Page page, IList <Drawing.Point> points)
        {
            var surface = new Drawing.DrawingSurface(page);
            var shape   = surface.DrawBezier(points);

            return(shape);
        }
Exemplo n.º 2
0
        public static IVisio.Shape DrawBezier(this IVisio.Page page, IList <Drawing.Point> points, short degree, short flags)
        {
            var surface = new Drawing.DrawingSurface(page);
            var shape   = surface.DrawBezier(points, degree, flags);

            return(shape);
        }