public NetOffice.PowerPointApi.DocumentWindow NewWindow() { object[] paramsArray = null; object returnItem = Invoker.MethodReturn(this, "NewWindow", paramsArray); NetOffice.PowerPointApi.DocumentWindow newObject = Factory.CreateKnownObjectFromComProxy(this, returnItem, NetOffice.PowerPointApi.DocumentWindow.LateBindingApiWrapperType) as NetOffice.PowerPointApi.DocumentWindow; return(newObject); }
public NetOffice.PowerPointApi.DocumentWindow this[Int32 index] { get { object[] paramsArray = Invoker.ValidateParamsArray(index); object returnItem = Invoker.MethodReturn(this, "Item", paramsArray); NetOffice.PowerPointApi.DocumentWindow newObject = Factory.CreateKnownObjectFromComProxy(this, returnItem, NetOffice.PowerPointApi.DocumentWindow.LateBindingApiWrapperType) as NetOffice.PowerPointApi.DocumentWindow; return(newObject); } }
/// <summary> /// /// </summary> /// <param name="wn"></param> public void SlideShowNextSlide([In, MarshalAs(UnmanagedType.IDispatch)] object wn) { if (!Validate("SlideShowNextSlide")) { Invoker.ReleaseParamsArray(wn); return; } NetOffice.PowerPointApi.DocumentWindow newWn = Factory.CreateKnownObjectFromComProxy <NetOffice.PowerPointApi.DocumentWindow>(EventClass, wn, typeof(NetOffice.PowerPointApi.DocumentWindow)); object[] paramsArray = new object[1]; paramsArray[0] = newWn; EventBinding.RaiseCustomEvent("SlideShowNextSlide", ref paramsArray); }
/// <summary> /// /// </summary> /// <param name="pres"></param> /// <param name="wn"></param> public void WindowDeactivate([In, MarshalAs(UnmanagedType.IDispatch)] object pres, [In, MarshalAs(UnmanagedType.IDispatch)] object wn) { if (!Validate("WindowDeactivate")) { Invoker.ReleaseParamsArray(pres, wn); return; } NetOffice.PowerPointApi.Presentation newPres = Factory.CreateKnownObjectFromComProxy <NetOffice.PowerPointApi.Presentation>(EventClass, pres, typeof(NetOffice.PowerPointApi.Presentation)); NetOffice.PowerPointApi.DocumentWindow newWn = Factory.CreateKnownObjectFromComProxy <NetOffice.PowerPointApi.DocumentWindow>(EventClass, wn, typeof(NetOffice.PowerPointApi.DocumentWindow)); object[] paramsArray = new object[2]; paramsArray[0] = newPres; paramsArray[1] = newWn; EventBinding.RaiseCustomEvent("WindowDeactivate", ref paramsArray); }
public void WindowDeactivate([In, MarshalAs(UnmanagedType.IDispatch)] object pres, [In, MarshalAs(UnmanagedType.IDispatch)] object wn) { Delegate[] recipients = _eventBinding.GetEventRecipients("WindowDeactivate"); if ((true == _eventClass.IsCurrentlyDisposing) || (recipients.Length == 0)) { Invoker.ReleaseParamsArray(pres, wn); return; } NetOffice.PowerPointApi.Presentation newPres = Factory.CreateObjectFromComProxy(_eventClass, pres) as NetOffice.PowerPointApi.Presentation; NetOffice.PowerPointApi.DocumentWindow newWn = Factory.CreateObjectFromComProxy(_eventClass, wn) as NetOffice.PowerPointApi.DocumentWindow; object[] paramsArray = new object[2]; paramsArray[0] = newPres; paramsArray[1] = newWn; _eventBinding.RaiseCustomEvent("WindowDeactivate", ref paramsArray); }
public void LaunchSpelling(NetOffice.PowerPointApi.DocumentWindow pWindow) { Factory.ExecuteMethod(this, "LaunchSpelling", pWindow); }