public NetOffice.ExcelApi.Series Add(object source, NetOffice.ExcelApi.Enums.XlRowCol rowcol, object seriesLabels, object categoryLabels) { object[] paramsArray = Invoker.ValidateParamsArray(source, rowcol, seriesLabels, categoryLabels); object returnItem = Invoker.MethodReturn(this, "Add", paramsArray); NetOffice.ExcelApi.Series newObject = NetOffice.Factory.CreateKnownObjectFromComProxy(this, returnItem, NetOffice.ExcelApi.Series.LateBindingApiWrapperType) as NetOffice.ExcelApi.Series; return(newObject); }
public object Paste(NetOffice.ExcelApi.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); } }