Search code examples
c#powerpointoffice-interop

Is there any possibility to insert new SlideMaster?


I am trying to implement adding a slide into a presentation, but this slide has different main master (theme, footers etc.). Is there any way to add new Master Slide into a presentation using Interop.PowerPoint?

I researched official documentation, but found no direct ways like there are in other libraries, like presentation.Masters.Add(newMaster);


Solution

  • Because of PowerPoint's development history, the object names are a bit odd.

    Presentation.Designs.Add
    

    Designs.Add Method