Exemplo n.º 1
0
        public LateBindingApi.Excel.Trendline _Default()
        {
            object returnValue = Invoker.MethodReturn(this, "_Default", null);

            if (null == returnValue)
            {
                return(null);
            }
            LateBindingApi.Excel.Trendline newClass = new LateBindingApi.Excel.Trendline(this, returnValue);
            return(newClass);
        }
Exemplo n.º 2
0
        public LateBindingApi.Excel.Trendline Add(LateBindingApi.Excel.Enums.XlTrendlineType type)
        {
            object[] paramArray = new object[1];
            paramArray[0] = type;
            object returnValue = Invoker.MethodReturn(this, "Add", paramArray);

            if (null == returnValue)
            {
                return(null);
            }
            LateBindingApi.Excel.Trendline newClass = new LateBindingApi.Excel.Trendline(this, returnValue);
            return(newClass);
        }
Exemplo n.º 3
0
        public LateBindingApi.Excel.Trendline _Default(object index)
        {
            object[] paramArray = new object[1];
            paramArray[0] = index;
            object returnValue = Invoker.MethodReturn(this, "_Default", paramArray);

            if (null == returnValue)
            {
                return(null);
            }
            LateBindingApi.Excel.Trendline newClass = new LateBindingApi.Excel.Trendline(this, returnValue);
            return(newClass);
        }
Exemplo n.º 4
0
        public IEnumerator GetEnumerator()
        {
            object    enumProxy  = Invoker.MethodReturn(this, "_NewEnum");
            COMObject enumerator = new COMObject(this, enumProxy);

            Invoker.Method(enumerator, "Reset", null);
            bool isMoveNextTrue = (bool)Invoker.MethodReturn(enumerator, "MoveNext", null);

            while (true == isMoveNextTrue)
            {
                object itemProxy = Invoker.PropertyGet(enumerator, "Current", null);
                LateBindingApi.Excel.Trendline returnClass = new LateBindingApi.Excel.Trendline(this, itemProxy);
                isMoveNextTrue = (bool)Invoker.MethodReturn(enumerator, "MoveNext", null);
                yield return(returnClass);
            }
        }
Exemplo n.º 5
0
        public LateBindingApi.Excel.Trendline Add(LateBindingApi.Excel.Enums.XlTrendlineType type, object order, object period, object forward, object backward, object intercept, object displayEquation, object displayRSquared, object name)
        {
            object[] paramArray = new object[9];
            paramArray[0] = type;
            paramArray[1] = order;
            paramArray[2] = period;
            paramArray[3] = forward;
            paramArray[4] = backward;
            paramArray[5] = intercept;
            paramArray[6] = displayEquation;
            paramArray[7] = displayRSquared;
            paramArray[8] = name;
            object returnValue = Invoker.MethodReturn(this, "Add", paramArray);

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