Removes shapes from slides in a presentation.
(function() { var oPresentation = Api.GetPresentation(); for (let i = 0; i < 10; i++) { var oSlide = oPresentation.GetSlideByIndex(i); var aShape = oSlide.GetAllShapes(); aShape[0].Delete(); } })();
Methods used: GetPresentation, GetSlideByIndex, GetAllShapes