I need to change the slide layout programmatically using C # (using Add-In Express 2009 for Office and .NET). If the new layout is predefined, then everything will be fine, but not, if I need to set my own layout as new (without re-creating the slides). Unfortunately, I did not find any information on how to do this, the PowerPoint object model reference documentation did not answer me either. There is only the option to create a new slide that uses a custom layout.
I conducted an experiment and made sure that the object Slideremained the same while I changed the layout of both predefined and custom ones. I do not want to create a new slide when I just need to switch the layout.
Is it possible at all? Please help me find a way to do this.
source
share