public static void Select(
     this IVisio.Window window,
     IEnumerable <IVisio.Shape> shapes,
     IVisio.VisSelectArgs selectargs)
 {
     VisioAutomation.Windows.WindowHelper.Select(window, shapes, selectargs);
 }
Exemple #2
0
 public static void Select(
     this IVisio.Window window,
     IEnumerable <IVisio.Shape> shapes,
     IVisio.VisSelectArgs selectargs)
 {
     foreach (var shape in shapes)
     {
         window.Select(shape, (short)selectargs);
     }
 }
Exemple #3
0
        public static void Select(
            this IVisio.Window window,
            IEnumerable <IVisio.Shape> shapes,
            IVisio.VisSelectArgs selectargs)
        {
            if (shapes == null)
            {
                throw new System.ArgumentNullException("shapes");
            }

            foreach (var shape in shapes)
            {
                window.Select(shape, (short)selectargs);
            }
        }