Show/hide named shape (P)

Modified on Mon, 5 Oct at 1:54 PM

This feature enables users to toggle the visibility of a named shape in PowerPoint. Here, we are also able to target shapes that are present in the slide master. An example of usage could be a client that has some kind of guide laying as a shape beside a specific slide in the master. Instead of toggling the visibility manually in the master, this feature empowers the user to simply show or hide the shape concerned from the normal view.

The module is located here:

Code
  ...\ModuleLibrary\BaseExtensions\01_nocontext_Tools\78_P_showHideShape.xml

CMD

<Cmd case="BaseExtensions:show-hide-pp"/>

Parameters

show

Define whether the button should show, hide or even toggle the visibility. If the parameter is defined to be true, the feature will show the named shape, while the feature will hide the shape if this parameter is defined to be false. If nothing is defined in this parameter or if the parameter is left out, the feature will toggle the visibility.

ShapeNames

Define the name of the shape(s) that should be shown or hidden. If there are more than one shape to be toggled, separate the shape names with semicolon, e.g. "shape1;shape2;shape3". If multiples shapes exist and share the same specific string at the beginning of their name, these can be hidden with a single entry appended with :partial , e.g. Slide Number Placeholder:partial will hide all slide number shapes in a presentation.

ToggleOnActiveSlide

This can either be set to true or false. When set to true, the command will only be applied to currently selected slide. When set to false, the command will be applied to all the slides.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article