private Slide DuplicateSlide(Slide slide)
        {
            SlideRange slideRange = slide.Duplicate();

            slideRange.MoveTo(slides.Count);
            return(slides[slides.Count]);
        }
        private Slide DuplicateSlide(Slide slide, int position)
        {
            SlideRange slideRange = slide.Duplicate();

            slideRange.MoveTo(position);
            return(slides[position]);
        }
Ejemplo n.º 3
0
        static SlideRange CreateSlide(int copyOfIndex)
        {
            SlideRange newSlide = objSlides[copyOfIndex].Duplicate();

            newSlide.Tags.Add("isCreated", "true");
            newSlide.MoveTo(objSlides.Count);
            newSlide.SlideShowTransition.Hidden = MsoTriState.msoFalse;
            return(newSlide);
        }