Esempio n. 1
0
 public static void Select(
     this IVisio.Window window,
     IEnumerable <IVisio.Shape> shapes,
     IVisio.VisSelectArgs selectargs)
 {
     VisioAutomation.Windows.WindowHelper.Select(window, shapes, selectargs);
 }
Esempio n. 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);
     }
 }
Esempio n. 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);
            }
        }