Drop shape masters
Overview
The recommended way to get shapes on a page is to drop a master from a stencil.
Dropping a master
The following code shows the simplest case. It drops a "Rectangle" shape into the current page at position 4,5.
Dropping a master multiple times
Dropping multiple masters at the same time
In this case, we want different masters dropped all at the same time
The New-VisioShape
cmdlet returns a list of integers - these are the shape ids of the shapes that were created as a result of the drop operation.
Last updated