Ejemplo n.º 1
0
        public LateBindingApi.Excel.OLEObject Add()
        {
            object returnValue = Invoker.MethodReturn(this, "Add", null);

            if (null == returnValue)
            {
                return(null);
            }
            LateBindingApi.Excel.OLEObject newClass = new LateBindingApi.Excel.OLEObject(this, returnValue);
            return(newClass);
        }
Ejemplo n.º 2
0
        public LateBindingApi.Excel.OLEObject Add(object classType, object filename, object link, object displayAsIcon, object iconFileName, object iconIndex, object iconLabel, object left, object top, object width, object height)
        {
            object[] paramArray = new object[11];
            paramArray[0]  = classType;
            paramArray[1]  = filename;
            paramArray[2]  = link;
            paramArray[3]  = displayAsIcon;
            paramArray[4]  = iconFileName;
            paramArray[5]  = iconIndex;
            paramArray[6]  = iconLabel;
            paramArray[7]  = left;
            paramArray[8]  = top;
            paramArray[9]  = width;
            paramArray[10] = height;
            object returnValue = Invoker.MethodReturn(this, "Add", paramArray);

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