0
votes

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.

enter image description here

Another thing is I don't know how to make it programmatically in code.

Note: I am using Visual Studio 2013, PowerPoint 2013, C#

1

1 Answers

1
votes

What I usually do in this cases is to record a new macro and make the desired actions in the UI. Then I stop recording and go to see the code created in VB. Then is just a mater of to translate to c#