/// <summary> /// Assumes that there is no reference slide. /// Takes in a slide, and sets it as the reference slide of the agenda. /// </summary> private static void SetAsReferenceSlide(PowerPointSlide refSlide, Type type) { AgendaSlide.SetAsReferenceSlideName(refSlide, type); refSlide.Hidden = true; refSlide.AddTemplateSlideMarker(); refSlide.MoveTo(1); }