Adding Rows to SmartShapes Symbols' ShapeSheets

To add a row to a section using the AddRow method of the Shape object, call the AddRow method using the following syntax:

shpObj.AddRow <section constant> <row number> <row Tag constant>

In this syntax, shpObj is the valid reference to the Shape object. AddRow is the AddRow method of the Shape object, and <section constant> is the Visio constant for the valid and available sections in a ShapeSheet that a user can legally add. The constants were listed earlier in the chapter.

The integer row number where the new row is to be placed is indicated by <row number>; <row Tag constant> is the Visio constant for the valid and available row types in a ShapeSheet that a user can legally add. The constants ...

Get Professional Development with Visio® 2000 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.