Skip to content

Is it possible to create new empty slide with an image #480

Closed Answered by ashahabov
StravitoMike asked this question in Q&A
Discussion options

You must be logged in to vote

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();

Replies: 1 comment 10 replies

Comment options

You must be logged in to vote
10 replies
@ashahabov
Comment options

@mhanon
Comment options

@ashahabov
Comment options

@Luigicube
Comment options

@mhanon
Comment options

Answer selected by StravitoMike
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants