Hey guys. Can anybody here help me with powerpoint add-ins?
PowerPoint.CustomLayout customLayout = null;
PowerPoint.Slide activeSlide = null;
customLayout = Globals.ThisAddIn.Application.ActivePresentation.SlideMaster.CustomLayouts[7];
activeSlide = Globals.ThisAddIn.Application.ActivePresentation.Slides.AddSlide(Globals.ThisAddIn.Application.ActivePresentation.Slides.Count + 1, customLayout);
PowerPoint.Shape textBox = activeSlide.Shapes.AddTextbox(
Office.MsoTextOrientation.msoTextOrientationHorizontal, 50, 50, 600, 500);