O'Reilly logo

Professional Development with Visio® 2000 by David Edson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Gluing to the Other Shape

The next step is to get a reference to either the explicit entity you want to glue to, as in the case of a connection point, or to the position we want to glue to, as in the case of the location with respect to the target SmartShape symbol. When you have the reference you need, you can then use the GlueTo or GlueToPos method of the Gluing SmartShape symbol to glue to the other SmartShape symbol.

Listing 14.1 is an example of gluing a control handle on the Position SmartShape symbol to a connection point on a Manager SmartShape symbol. This example uses a Manager and Position SmartShape symbol that I created from two rectangles. You can find the sample drawing for this on the CD-ROM that accompanies this book. Be aware ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required