Пример #1
0
        public COMVariant Paste(LateBindingApi.Excel.Enums.XlRowCol rowcol)
        {
            object[] paramArray = new object[1];
            paramArray[0] = rowcol;
            object     returnValue  = Invoker.MethodReturn(this, "Paste", paramArray);
            COMVariant returnObject = LateBindingApi.Core.Factory.CreateVariantFromComProxy(this, returnValue);

            return(returnObject);
        }
Пример #2
0
        public COMVariant Paste(LateBindingApi.Excel.Enums.XlRowCol rowcol, object seriesLabels, object categoryLabels, object replace, object newSeries)
        {
            object[] paramArray = new object[5];
            paramArray[0] = rowcol;
            paramArray[1] = seriesLabels;
            paramArray[2] = categoryLabels;
            paramArray[3] = replace;
            paramArray[4] = newSeries;
            object     returnValue  = Invoker.MethodReturn(this, "Paste", paramArray);
            COMVariant returnObject = LateBindingApi.Core.Factory.CreateVariantFromComProxy(this, returnValue);

            return(returnObject);
        }
Пример #3
0
        public LateBindingApi.Excel.Series Add(object source, LateBindingApi.Excel.Enums.XlRowCol rowcol)
        {
            object[] paramArray = new object[2];
            paramArray[0] = source;
            paramArray[1] = rowcol;
            object returnValue = Invoker.MethodReturn(this, "Add", paramArray);

            if (null == returnValue)
            {
                return(null);
            }
            LateBindingApi.Excel.Series newClass = new LateBindingApi.Excel.Series(this, returnValue);
            return(newClass);
        }
Пример #4
0
        public LateBindingApi.Excel.Series Add(object source, LateBindingApi.Excel.Enums.XlRowCol rowcol, object seriesLabels, object categoryLabels, object replace)
        {
            object[] paramArray = new object[5];
            paramArray[0] = source;
            paramArray[1] = rowcol;
            paramArray[2] = seriesLabels;
            paramArray[3] = categoryLabels;
            paramArray[4] = replace;
            object returnValue = Invoker.MethodReturn(this, "Add", paramArray);

            if (null == returnValue)
            {
                return(null);
            }
            LateBindingApi.Excel.Series newClass = new LateBindingApi.Excel.Series(this, returnValue);
            return(newClass);
        }