<< Click to Display Table of Contents >> Navigation: »No topics above this level« Referencing SS Plus Actions in Code |
SS Plus includes the following useful actions that can be called by your own code, such as VBA macros or C#.
Parameter |
Description |
9:3425 |
<Page ID of the Slide Snippet> : <Shape ID of the Slide Snippet> |
They simply need to be called with the Visio Application.QueueMarkerEvent(contextString), where the contextString is "bVSSPlus.<parameter>"
VBA example to zoom to the rectangular area the "Space Usage" layer set to the active page:
Application.QueueMarkerEvent "bVSSPlus.ZoomToSnippet.9:3425"
The easiest way to get the page ID is to go into the Immediate WIndow in VBA and type:
?ActivePage.ID
The easist way to get the ID of the Slide Snippet shape is to open the Drawing Explorer window and read the number at the end of its name.