public XlChartObjects Duplicate()
        {
            object returnValue = InstanceType.InvokeMember("Duplicate", BindingFlags.InvokeMethod, null, ComReference, null, XlLateBindingApiSettings.XlThreadCulture);

            if (null == returnValue)
            {
                return(null);
            }
            XlChartObjects newClass = new XlChartObjects(this, returnValue);

            ListChildReferences.Add(newClass);
            return(newClass);
        }
Exemplo n.º 2
0
        public XlChartObjects ChartObjects()
        {
            object[] paramArray = new object[1];
            paramArray[0] = Missing.Value;
            object returnValue = InstanceType.InvokeMember("ChartObjects", BindingFlags.InvokeMethod | BindingFlags.OptionalParamBinding, null, ComReference, paramArray, XlLateBindingApiSettings.XlThreadCulture);

            if (null == returnValue)
            {
                return(null);
            }
            XlChartObjects newClass = new XlChartObjects(this, returnValue);

            ListChildReferences.Add(newClass);
            return(newClass);
        }