Esempio n. 1
0
        public NetOffice.OfficeApi.IMsoSeries Add(object source, NetOffice.OfficeApi.Enums.XlRowCol rowcol, object seriesLabels, object categoryLabels)
        {
            object[] paramsArray = Invoker.ValidateParamsArray(source, rowcol, seriesLabels, categoryLabels);
            object   returnItem  = Invoker.MethodReturn(this, "Add", paramsArray);

            NetOffice.OfficeApi.IMsoSeries newObject = NetOffice.Factory.CreateKnownObjectFromComProxy(this, returnItem, NetOffice.OfficeApi.IMsoSeries.LateBindingApiWrapperType) as NetOffice.OfficeApi.IMsoSeries;
            return(newObject);
        }
Esempio n. 2
0
        public object Paste(NetOffice.OfficeApi.Enums.XlRowCol rowcol, object seriesLabels, object categoryLabels, object replace)
        {
            object[] paramsArray = Invoker.ValidateParamsArray(rowcol, seriesLabels, categoryLabels, replace);
            object   returnItem  = Invoker.MethodReturn(this, "Paste", paramsArray);

            if ((null != returnItem) && (returnItem is MarshalByRefObject))
            {
                COMObject newObject = NetOffice.Factory.CreateObjectFromComProxy(this, returnItem);
                return(newObject);
            }
            else
            {
                return(returnItem);
            }
        }