示例#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);
 }
示例#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]);
            }
        }
示例#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]));
 }
示例#9
0
 public static IEnumerable <IVisio.Style> ToEnumerable(this IVisio.Styles styles)
 {
     return(VisioAutomation.Styles.StyleHelper.ToEnumerable(styles));
 }
示例#10
0
 public static string[] GetNamesU(this IVisio.Styles styles)
 {
     return(VisioAutomation.Styles.StyleHelper.GetNamesU(styles));
 }