public Int32 GetComputedStyle(NetOffice.MSHTMLApi.IMarkupPointer pPointer, out NetOffice.MSHTMLApi.IHTMLComputedStyle ppComputedStyle)
        {
            ParameterModifier[] modifiers = Invoker.CreateParamModifiers(false, true);
            ppComputedStyle = null;
            object[] paramsArray = Invoker.ValidateParamsArray(pPointer, ppComputedStyle);
            object   returnItem  = Invoker.MethodReturn(this, "GetComputedStyle", paramsArray);

            ppComputedStyle = (NetOffice.MSHTMLApi.IHTMLComputedStyle)paramsArray[1];
            return(NetRuntimeSystem.Convert.ToInt32(returnItem));
        }
Beispiel #2
0
        public Int32 isEqual(NetOffice.MSHTMLApi.IHTMLComputedStyle pComputedStyle, out bool pfEqual)
        {
            ParameterModifier[] modifiers = Invoker.CreateParamModifiers(false, true);
            pfEqual = false;
            object[] paramsArray = Invoker.ValidateParamsArray(pComputedStyle, pfEqual);
            object   returnItem  = Invoker.MethodReturn(this, "isEqual", paramsArray, modifiers);

            pfEqual = (bool)paramsArray[1];
            return(NetRuntimeSystem.Convert.ToInt32(returnItem));
        }
        public Int32 GetComputedStyle(NetOffice.MSHTMLApi.IMarkupPointer pPointer, out NetOffice.MSHTMLApi.IHTMLComputedStyle ppComputedStyle)
        {
            ParameterModifier[] modifiers   = Invoker.CreateParamModifiers(false, true);
            object[]            paramsArray = Invoker.ValidateParamsArray(pPointer, new object());
            object returnItem = Invoker.MethodReturn(this, "GetComputedStyle", paramsArray, modifiers);

            if (paramsArray[1] is MarshalByRefObject)
            {
                ppComputedStyle = new NetOffice.MSHTMLApi.IHTMLComputedStyle(this, paramsArray[1]);
            }
            else
            {
                ppComputedStyle = null;
            }
            return(NetRuntimeSystem.Convert.ToInt32(returnItem));
        }