public void ApplyCustomType(LateBindingApi.Office.Enums.XlChartType chartType, object typeName) { object[] paramArray = new object[2]; paramArray[0] = chartType; paramArray[1] = typeName; Invoker.Method(this, "ApplyCustomType", paramArray); }
public LateBindingApi.Office.Shape AddChart(LateBindingApi.Office.Enums.XlChartType type, Double left, Double top, Double width, Double height) { object[] paramArray = new object[5]; paramArray[0] = type; paramArray[1] = left; paramArray[2] = top; paramArray[3] = width; paramArray[4] = height; object returnValue = Invoker.MethodReturn(this, "AddChart", paramArray); if (null == returnValue) { return(null); } LateBindingApi.Office.Shape newClass = new LateBindingApi.Office.Shape(this, returnValue); return(newClass); }