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