image
CHAPTER14
Using Code to Enhance Functionality
IN THIS CHAPTER
Microsoft Visio is extensible. Everything in a Visio drawing is a SmartShape, whether it is just a single line or one character of text. A ShapeSheet is behind every Shape, and a ShapeSheet contains cells with formulae.
So, my first rule is:
Only resort to any coding if you cannot achieve what you want in the ShapeSheet.
My second rule is:
Encapsulate as much as possible in the ShapeSheet, and send as little chatter as you can between Shapes and Code to make it work.
I say this upfront because ...

Get Visualizing Information with Microsoft® Office Visio® 2007 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.