Reset the customlayout on a powerpoint slide using c# RRS feed

  • Question

  • Dear Experts,

    I'm writing an Application Level Add-in for PowerPoint 2007  in C#.

    I would need to re-apply a custom layout to a slide - to remove any changes done by the user.

    Is there method equivalent to the "reset" button in the "Slides" group in the "Home" tab of the PowerPoint menubar ?

    If I just apply the layout to the slide using :

    oSlide.CustomLayout = oPresentation.SlideMaster.CustomLayouts[2];

    any changes done by user in the font color or bullet color are not set back to the colors of the custom layout.

    Thanks for a lot for a hint.

    • Moved by Cindy Meister MVPModerator Saturday, December 10, 2011 9:16 AM PowerPoint-specific (From:Visual Studio Tools for Office)
    Friday, December 9, 2011 7:38 PM