Is it possible to create new empty slide with an image #480
-
Hi, I'd like to add a slide with an image, is it possible to e.g. add a new slide last in the presentation and then insert an image ? |
Beta Was this translation helpful? Give feedback.
Answered by
ashahabov
Mar 24, 2023
Replies: 1 comment 10 replies
-
Hello. You can create a new slide, but adding a picture shape is not available yet. using ShapeCrawler;
using var pres = SCPresentation.Open("some.pptx");
var layout = pres.SlideMasters[0].SlideLayouts[0];
var newSlide = pres.Slides.AddEmptySlide(layout);
pres.Save(); |
Beta Was this translation helpful? Give feedback.
10 replies
Answer selected by
StravitoMike
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello.
You can create a new slide, but adding a picture shape is not available yet.