Creating Visio Stencils
I was trying to create a call-out as a Visio stencil. The call-out needed to be scaled easily, the line not distorted, and the text box easily selectable. The following steps seem to make it work.
- Create your line
- Create your text box
- Make sure the text box stays in front of the line
- To prevent resizing weirdness, make sure the text box edge sits next to the line and does not overlap
- Adjust the line properties as needed (color, thickness)
- Adjust the text properties as needed (spacing, text background, vertical and horizontal alignment)
- Group the two objects
- Select the grouped object
- Right click and select “Format” / “Behavior…”
- In the Behavior tab
- Uncheck “Edit text of group”
- Group data: “Behind member shapes”
- Select Double-Click tab
- Select “Edit shape’s text”
- Click OK
You now have an object you can nicely re-size, move around the grouped object, yet with a double-click get to edit the original text box’s text.