FYI: Error in Visio 2002 Dev. Reference Help

C

Cookville

This might save someone a few minutes or hours of grief... and may have been corrected in newer versions.

In the Visio Developers Reference for Visio 2002, the help page for the ShapeSheet LinePattern cell states:

To reference the LinePattern cell by index from a program, use the CellsSRC property with the following arguments:

Section index:
visSectionObject

Row index:
visRowPageLayout

Cell index:
visPLOJumpStyle


Unfortunately, this is not correct. The correct index constants (as correctly shown in the VBE Object Browser) are:

Const visLinePattern = 2

Member of Visio.VisCellIndices

visSectionObject,
visRowLine,
visLinePattern
 
Top