Esempio n. 1
0
        public virtual 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));
        }
Esempio n. 2
0
        public virtual 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 = Factory.CreateKnownObjectFromComProxy <NetOffice.MSHTMLApi.IHTMLComputedStyle>(this, paramsArray[1], typeof(NetOffice.MSHTMLApi.IHTMLComputedStyle));
            }
            else
            {
                ppComputedStyle = null;
            }
            return(NetRuntimeSystem.Convert.ToInt32(returnItem));
        }