Quantcast
Channel: General Office Development forum
Viewing all articles
Browse latest Browse all 2257

Custom Layout is lost when inserting slide from file in PowerPoint 2016

$
0
0

Hi,

I'm working on a add-in for PowerPoint 2016, and I need to insert slides from another presentation to the active presentation. All the slides have custom layouts. I use PowerPoint.Slides.InsertFromFile method, but some of the inserted slides are without their custom layout. I noticed that these layouts are not added to SlideMaster.CustomLayouts collection of the active presentation.  Also, the CustomLayout on the Slide level is not the same as in the original presentation. 

Does anyone know why the custom layouts are lost when inserting the slides, and how to fix this issue?

Thanks,

Aleksandra


Viewing all articles
Browse latest Browse all 2257

Trending Articles