Chapter 5, Controlling Shape Geometry with Formulas

Chapter 5, Controlling Shape Geometry with Formulas

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

When you design a shape, you must decide how it will respond to a user action such as resizing or repositioning the shape. Microsoft® Visio® records the location of each shape vertex within the shape's coordinate space. These vertices, and the paths that connect them, define the shape's geometry. By writing formulas to control shape geometry, you determine how a shape looks and behaves in response to user actions.

This chapter defines shape geometry, describes how to control how shapes stretch, shrink, flip, and rotate, and describes how to control curves in shapes. It also offers suggestions for optimizing shape geometry and using locks to restrict what a user can do to a shape.

In this chapter…

Shape Geometry

Controlling How Shapes Stretch and Shrink

Controlling How Shapes Flip and Rotate

Controlling Curves in Shapes

Optimizing Shape Geometry

Using Locks to Limit Shape Behavior