예제 #1
0
        public NetOffice.ExcelApi.FormatCondition Add(NetOffice.ExcelApi.Enums.XlFormatConditionType type, object _operator, object formula1)
        {
            object[] paramsArray = Invoker.ValidateParamsArray(type, _operator, formula1);
            object   returnItem  = Invoker.MethodReturn(this, "Add", paramsArray);

            NetOffice.ExcelApi.FormatCondition newObject = Factory.CreateKnownObjectFromComProxy(this, returnItem, NetOffice.ExcelApi.FormatCondition.LateBindingApiWrapperType) as NetOffice.ExcelApi.FormatCondition;
            return(newObject);
        }
예제 #2
0
 public NetOffice.ExcelApi.FormatCondition this[object index]
 {
     get
     {
         object[] paramsArray = Invoker.ValidateParamsArray(index);
         object   returnItem  = Invoker.PropertyGet(this, "_Default", paramsArray);
         NetOffice.ExcelApi.FormatCondition newObject = Factory.CreateKnownObjectFromComProxy(this, returnItem, NetOffice.ExcelApi.FormatCondition.LateBindingApiWrapperType) as NetOffice.ExcelApi.FormatCondition;
         return(newObject);
     }
 }