Пример #1
0
        public static IVisio.Shape DrawRectangle(this IVisio.Page page, Geometry.Rectangle rect)
        {
            var surface = new SurfaceTarget(page);
            var shape   = surface.DrawRectangle(rect);

            return(shape);
        }