Hello,
I'm running into a very frustrating issue with merging 2 slides from one PowerPoint into another PowerPoint. I have it working just fine using the .Add(slide, pasteoptions, sourcePres) method that adds the slide to the bottom of the PPTX, however I need to place the 2 slides in a particular spot that is dynamically determined in earlier code. I have been trying to use the .Insert(int location, islide slide) method on the Presentation.Slides object, but I'm getting really inconsistent results with the master slides and layouts not adhering to the source slides at all and instead I'm seeing random master slides and layouts being applied which messes up the colors and font styles.
Again, when using the .Add() method which allows me to use the SourceFormatting for the paste options works perfectly fine. I'm curious if there is something I'm missing that will allow me to use the Insert() method and also the SourceFormatting options too so I can put the slides in a particular location?
Thank you.