Beispiel #1
0
        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);
     }
 }
Beispiel #3
0
        /// <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);
        }
Beispiel #4
0
        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);
        }
Beispiel #5
0
        /// <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);
        }