Ejemplo n.º 1
0
        public COMVariant Arrange(LateBindingApi.Excel.Enums.XlArrangeStyle arrangeStyle)
        {
            object[] paramArray = new object[1];
            paramArray[0] = arrangeStyle;
            object     returnValue  = Invoker.MethodReturn(this, "Arrange", paramArray);
            COMVariant returnObject = LateBindingApi.Core.Factory.CreateVariantFromComProxy(this, returnValue);

            return(returnObject);
        }
Ejemplo n.º 2
0
        public COMVariant Arrange(LateBindingApi.Excel.Enums.XlArrangeStyle arrangeStyle, object activeWorkbook, object syncHorizontal, object syncVertical)
        {
            object[] paramArray = new object[4];
            paramArray[0] = arrangeStyle;
            paramArray[1] = activeWorkbook;
            paramArray[2] = syncHorizontal;
            paramArray[3] = syncVertical;
            object     returnValue  = Invoker.MethodReturn(this, "Arrange", paramArray);
            COMVariant returnObject = LateBindingApi.Core.Factory.CreateVariantFromComProxy(this, returnValue);

            return(returnObject);
        }