Getting Layer Information from Pages and SmartShapes Symbols

Remember in the previous discussion of layers as they applied to SmartShape symbols and their ShapeSheets and Visio pages and their ShapeSheets that layer names are stored in the page's ShapeSheet, and the layer assignment indexes are stored in a given SmartShape symbol's ShapeSheet. This zero-based indexing means that an index entry in the SmartShape symbol's ShapeSheet that states “1” refers to the second row in the page's Layers section of its ShapeSheet. This process may seem confusing at first, but once you get it down, you will not have a problem.

The Layers property returns the Layers collection of the page or SmartShape symbol. A Layer object's Row property returns the corresponding ...

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.