Hi,
I want to create slides using a custom template. Does Spire support that? If yes, how? Any help is greatly appreciated!
Presentation templatePPT = new Presentation();
templatePPT.LoadFromFile(@"F:\Sample.pptx", FileFormat.Auto);
//when creating a PPT instance, a slide would be added by default.
Presentation ppt = new Presentation();
//remove the default slide
ppt.Slides.RemoveAt(0);
//append the slide using template
ppt.Slides.Append(templatePPT.Slides[0]);
ppt.SaveToFile( "15927result.pptx",FileFormat.Pptx2010);