コード例 #1
0
        public NetOffice.PowerPointApi.Effect ConvertToAnimateInReverse(NetOffice.PowerPointApi.Effect effect, NetOffice.OfficeApi.Enums.MsoTriState animateInReverse)
        {
            object[] paramsArray = Invoker.ValidateParamsArray(effect, animateInReverse);
            object   returnItem  = Invoker.MethodReturn(this, "ConvertToAnimateInReverse", paramsArray);

            NetOffice.PowerPointApi.Effect newObject = NetOffice.Factory.CreateKnownObjectFromComProxy(this, returnItem, NetOffice.PowerPointApi.Effect.LateBindingApiWrapperType) as NetOffice.PowerPointApi.Effect;
            return(newObject);
        }
コード例 #2
0
        public NetOffice.PowerPointApi.Effect ConvertToAfterEffect(NetOffice.PowerPointApi.Effect effect, NetOffice.PowerPointApi.Enums.MsoAnimAfterEffect after, Int32 dimColor)
        {
            object[] paramsArray = Invoker.ValidateParamsArray(effect, after, dimColor);
            object   returnItem  = Invoker.MethodReturn(this, "ConvertToAfterEffect", paramsArray);

            NetOffice.PowerPointApi.Effect newObject = NetOffice.Factory.CreateKnownObjectFromComProxy(this, returnItem, NetOffice.PowerPointApi.Effect.LateBindingApiWrapperType) as NetOffice.PowerPointApi.Effect;
            return(newObject);
        }
コード例 #3
0
        public NetOffice.PowerPointApi.Effect FindFirstAnimationForClick(Int32 click)
        {
            object[] paramsArray = Invoker.ValidateParamsArray(click);
            object   returnItem  = Invoker.MethodReturn(this, "FindFirstAnimationForClick", paramsArray);

            NetOffice.PowerPointApi.Effect newObject = NetOffice.Factory.CreateKnownObjectFromComProxy(this, returnItem, NetOffice.PowerPointApi.Effect.LateBindingApiWrapperType) as NetOffice.PowerPointApi.Effect;
            return(newObject);
        }
コード例 #4
0
        public NetOffice.PowerPointApi.Effect Clone(NetOffice.PowerPointApi.Effect effect)
        {
            object[] paramsArray = Invoker.ValidateParamsArray(effect);
            object   returnItem  = Invoker.MethodReturn(this, "Clone", paramsArray);

            NetOffice.PowerPointApi.Effect newObject = NetOffice.Factory.CreateKnownObjectFromComProxy(this, returnItem, NetOffice.PowerPointApi.Effect.LateBindingApiWrapperType) as NetOffice.PowerPointApi.Effect;
            return(newObject);
        }
コード例 #5
0
        public NetOffice.PowerPointApi.Effect AddEffect(NetOffice.PowerPointApi.Shape shape, NetOffice.PowerPointApi.Enums.MsoAnimEffect effectId, NetOffice.PowerPointApi.Enums.MsoAnimateByLevel level, NetOffice.PowerPointApi.Enums.MsoAnimTriggerType trigger)
        {
            object[] paramsArray = Invoker.ValidateParamsArray(shape, effectId, level, trigger);
            object   returnItem  = Invoker.MethodReturn(this, "AddEffect", paramsArray);

            NetOffice.PowerPointApi.Effect newObject = NetOffice.Factory.CreateKnownObjectFromComProxy(this, returnItem, NetOffice.PowerPointApi.Effect.LateBindingApiWrapperType) as NetOffice.PowerPointApi.Effect;
            return(newObject);
        }
コード例 #6
0
 public NetOffice.PowerPointApi.Effect this[Int32 index]
 {
     get
     {
         object[] paramsArray = Invoker.ValidateParamsArray(index);
         object   returnItem  = Invoker.MethodReturn(this, "Item", paramsArray);
         NetOffice.PowerPointApi.Effect newObject = Factory.CreateKnownObjectFromComProxy(this, returnItem, NetOffice.PowerPointApi.Effect.LateBindingApiWrapperType) as NetOffice.PowerPointApi.Effect;
         return(newObject);
     }
 }
コード例 #7
0
ファイル: EApplication.cs プロジェクト: tinmanjk/NetOffice
        /// <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);
        }
コード例 #8
0
        public void SlideShowNextClick([In, MarshalAs(UnmanagedType.IDispatch)] object wn, [In, MarshalAs(UnmanagedType.IDispatch)] object nEffect)
        {
            Delegate[] recipients = _eventBinding.GetEventRecipients("SlideShowNextClick");
            if ((true == _eventClass.IsCurrentlyDisposing) || (recipients.Length == 0))
            {
                Invoker.ReleaseParamsArray(wn, nEffect);
                return;
            }

            NetOffice.PowerPointApi.SlideShowWindow newWn      = Factory.CreateObjectFromComProxy(_eventClass, wn) as NetOffice.PowerPointApi.SlideShowWindow;
            NetOffice.PowerPointApi.Effect          newnEffect = Factory.CreateObjectFromComProxy(_eventClass, nEffect) as NetOffice.PowerPointApi.Effect;
            object[] paramsArray = new object[2];
            paramsArray[0] = newWn;
            paramsArray[1] = newnEffect;
            _eventBinding.RaiseCustomEvent("SlideShowNextClick", ref paramsArray);
        }
コード例 #9
0
 public void MoveAfter(NetOffice.PowerPointApi.Effect effect)
 {
     Factory.ExecuteMethod(this, "MoveAfter", effect);
 }
コード例 #10
0
 public void MoveAfter(NetOffice.PowerPointApi.Effect effect)
 {
     object[] paramsArray = Invoker.ValidateParamsArray(effect);
     Invoker.Method(this, "MoveAfter", paramsArray);
 }
コード例 #11
0
ファイル: Sequence.cs プロジェクト: sss-software/NetOffice
 public NetOffice.PowerPointApi.Effect ConvertToTextUnitEffect(NetOffice.PowerPointApi.Effect effect, NetOffice.PowerPointApi.Enums.MsoAnimTextUnitEffect unitEffect)
 {
     return(Factory.ExecuteKnownReferenceMethodGet <NetOffice.PowerPointApi.Effect>(this, "ConvertToTextUnitEffect", NetOffice.PowerPointApi.Effect.LateBindingApiWrapperType, effect, unitEffect));
 }
コード例 #12
0
ファイル: Sequence.cs プロジェクト: sss-software/NetOffice
 public NetOffice.PowerPointApi.Effect ConvertToAnimateInReverse(NetOffice.PowerPointApi.Effect effect, NetOffice.OfficeApi.Enums.MsoTriState animateInReverse)
 {
     return(Factory.ExecuteKnownReferenceMethodGet <NetOffice.PowerPointApi.Effect>(this, "ConvertToAnimateInReverse", NetOffice.PowerPointApi.Effect.LateBindingApiWrapperType, effect, animateInReverse));
 }
コード例 #13
0
ファイル: Sequence.cs プロジェクト: sss-software/NetOffice
 public NetOffice.PowerPointApi.Effect ConvertToAfterEffect(NetOffice.PowerPointApi.Effect effect, NetOffice.PowerPointApi.Enums.MsoAnimAfterEffect after, object dimColor)
 {
     return(Factory.ExecuteKnownReferenceMethodGet <NetOffice.PowerPointApi.Effect>(this, "ConvertToAfterEffect", NetOffice.PowerPointApi.Effect.LateBindingApiWrapperType, effect, after, dimColor));
 }
コード例 #14
0
ファイル: Sequence.cs プロジェクト: sss-software/NetOffice
 public NetOffice.PowerPointApi.Effect ConvertToBuildLevel(NetOffice.PowerPointApi.Effect effect, NetOffice.PowerPointApi.Enums.MsoAnimateByLevel level)
 {
     return(Factory.ExecuteKnownReferenceMethodGet <NetOffice.PowerPointApi.Effect>(this, "ConvertToBuildLevel", NetOffice.PowerPointApi.Effect.LateBindingApiWrapperType, effect, level));
 }
コード例 #15
0
ファイル: Sequence.cs プロジェクト: sss-software/NetOffice
 public NetOffice.PowerPointApi.Effect Clone(NetOffice.PowerPointApi.Effect effect)
 {
     return(Factory.ExecuteKnownReferenceMethodGet <NetOffice.PowerPointApi.Effect>(this, "Clone", NetOffice.PowerPointApi.Effect.LateBindingApiWrapperType, effect));
 }