Exemplo n.º 1
0
        public virtual Int32 Clone(out NetOffice.MSFormsApi.IFont lplpfont)
        {
            ParameterModifier[] modifiers = Invoker.CreateParamModifiers(true);
            lplpfont = null;
            object[] paramsArray = Invoker.ValidateParamsArray(new object());
            object   returnItem  = Invoker.MethodReturn(this, "Clone", paramsArray, modifiers);

            if (paramsArray[1] is MarshalByRefObject)
            {
                paramsArray[1] = Factory.CreateKnownObjectFromComProxy <NetOffice.MSFormsApi.IFont>(this, paramsArray[1], typeof(NetOffice.MSFormsApi.IFont));
            }
            else
            {
                paramsArray[1] = null;
            }
            lplpfont = (NetOffice.MSFormsApi.IFont)paramsArray[0];
            return(NetRuntimeSystem.Convert.ToInt32(returnItem));
        }
Exemplo n.º 2
0
 public virtual Int32 IsEqual(NetOffice.MSFormsApi.IFont lpFontOther)
 {
     return(InvokerService.InvokeInternal.ExecuteInt32MethodGet(this, "IsEqual", lpFontOther));
 }