public static void SepiaBackgroundEffect(PowerPointSlide curSlide, Selection selection)
        {
            PowerPointBgEffectSlide effectSlide = EffectsLabUtil.GenerateEffectSlide(curSlide, selection, false);

            if (effectSlide == null)
            {
                return;
            }

            effectSlide.SepiaBackground();
            effectSlide.GetNativeSlide().Select();
        }
        public static void BlackWhiteRemainderEffect(PowerPointSlide curSlide, Selection selection)
        {
            var effectSlide = EffectsLabUtil.GenerateEffectSlide(curSlide, selection, true);

            if (effectSlide == null)
            {
                return;
            }

            effectSlide.BlackWhiteBackground();
            effectSlide.GetNativeSlide().Select();
        }
        public static void GreyScaleRemainderEffect(PowerPointSlide curSlide, Selection selection)
        {
            PowerPointBgEffectSlide effectSlide = EffectsLabUtil.GenerateEffectSlide(curSlide, selection, true);

            if (effectSlide == null)
            {
                return;
            }

            effectSlide.GreyScaleBackground();
            effectSlide.GetNativeSlide().Select();
        }
Example #4
0
        public static void ExecuteBlurBackground(Models.PowerPointSlide slide, PowerPoint.Selection selection, int percentage)
        {
            Models.PowerPointBgEffectSlide effectSlide = EffectsLabUtil.GenerateEffectSlide(slide, selection, false);

            if (effectSlide == null)
            {
                return;
            }

            effectSlide.BlurBackground(percentage, EffectsLabSettings.IsTintBackground);
            effectSlide.GetNativeSlide().Select();
        }