December 1999
Intermediate to advanced
480 pages
11h 5m
English
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 ...
Read now
Unlock full access