I am trying to lock a shape in PowerPoint by putting it into the layout. And after I am doing necessary my stuff, I want to unlock the shape by putting the shape out of the layout.
I can add a shape to layout from the menu. But there is no way to put the shape out of the Layout except implementing "undo" action.
Another thing is I don't know how to make it programmatically in code.
Note: I am using Visual Studio 2013, PowerPoint 2013, C#