Exemple #1
0
 public static string[] GetNamesU(Microsoft.Office.Interop.Visio.Styles styles)
 {
     System.Array names_sa;
     styles.GetNamesU(out names_sa);
     string[] names = (string[])names_sa;
     return(names);
 }
 public static string[] GetNamesU(this IVisio.Styles styles)
 {
     System.Array names_sa;
     styles.GetNamesU(out names_sa);
     string[] names = (string[])names_sa;
     return(names);
 }
Exemple #3
0
        public static IEnumerable <IVisio.Style> ToEnumerable(Microsoft.Office.Interop.Visio.Styles styles)
        {
            int count = styles.Count;

            for (int i = 0; i < count; i++)
            {
                yield return(styles[i + 1]);
            }
        }
Exemple #4
0
        public static IEnumerable <IVisio.Style> ToEnumerable(this IVisio.Styles styles)
        {
            int count = styles.Count;

            for (int i = 0; i < count; i++)
            {
                yield return(styles[i + 1]);
            }
        }
 public static IEnumerable <IVisio.Style> ToEnumerable(this IVisio.Styles styles)
 {
     return(ExtensionHelpers.ToEnumerable(() => styles.Count, i => styles[i + 1]));
 }
 public static List <IVisio.Style> ToList(this IVisio.Styles styles)
 {
     return(ExtensionHelpers.ToList(() => styles.Count, i => styles[i + 1]));
 }
 public static IEnumerable <IVisio.Style> ToEnumerable(this IVisio.Styles styles)
 {
     return(VisioAutomation.Internal.Extensions.ExtensionHelpers.ToEnumerable(() => styles.Count, i => styles[i + 1]));
 }
 public static List <IVisio.Style> ToList(this IVisio.Styles styles)
 {
     return(VisioAutomation.Internal.Extensions.ExtensionHelpers.ToList(() => styles.Count, i => styles[i + 1]));
 }
Exemple #9
0
 public static IEnumerable <IVisio.Style> ToEnumerable(this IVisio.Styles styles)
 {
     return(VisioAutomation.Styles.StyleHelper.ToEnumerable(styles));
 }
Exemple #10
0
 public static string[] GetNamesU(this IVisio.Styles styles)
 {
     return(VisioAutomation.Styles.StyleHelper.GetNamesU(styles));
 }