Ejemplo n.º 1
0
        public static ShapeIDPairs FromShapes(params IVisio.Shape[] shapes)
        {
            var shapeidpairs = new ShapeIDPairs(shapes.Length);

            shapeidpairs.AddRange(shapes.Select(s => new ShapeIDPair(s)));
            return(shapeidpairs);
        }
Ejemplo n.º 2
0
        public static ShapeIDPairs FromShapes(IList <IVisio.Shape> shapes)
        {
            var shapeidpairs = new ShapeIDPairs(shapes.Count);

            shapeidpairs.AddRange(shapes.Select(s => new ShapeIDPair(s)));
            return(shapeidpairs);
        }