Container Margins and Container Expansion

Started by djroulette, April 19, 2020, 10:35:50 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

djroulette

My goal: Have a container drawn around a room on a set of floor plans, drop custom shapes into this container, generate documents based on shapes inside container.

My problem: Some of my custom shapes I would like to have right against the edge of the container (example: a TV mounted to a wall).  When the shape gets close to the edge of the container, the container changes it size.

My question: How do I set whatever this property is (I'm referring to it as an invisible boarder around the shape) to zero, or tell the container not to change it's size based on the location of shapes?

Visio Guy

Hi djr,

In the ShapeSheet, containers have a margin setting. If you see it in the ShapeSheet, you can set it to 0:

User.msvSDContainerMargin = 0

If the cell/row is not present, it appears that the default is zero anyway!
For articles, tips and free content, see the Visio Guy Website at http://www.visguy.com
Get my Visio Book! Using Microsoft Visio 2010

djroulette

Perfect!!  I also had to set the User.msvSDContainerResize = 0.