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

The Automated-Stop-Sign-Generation Application

The code in Listing 16.1 uses the DrawRectangle method of the Page object to place a simple Rectangle SmartShape symbol at the center of the page. The goal of this application is to modify this simple Rectangle symbol through Automation such that it becomes a red octagon with the white lettering “STOP” on it.

Additionally, the application will have a custom property entry for the intersection number where the sign is to be placed and a right-click (context menu) action to bring up the Custom Properties dialog box. The application will modify the rectangle by adding all of the required sections and rows to perform the translation from rectangle to octagon and the formatting changes. It will then call ...

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