• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 13. Generating Visio Drawings wi... > Getting Formulas of Visio SmartShape...

Getting Formulas of Visio SmartShapes Symbols and Pages

If you will remember, I told you that you would need a clear understanding of the ShapeSheet to exploit the power of an Automation controller application. This section is where we begin to put this statement into practice. When you have a reference to a SmartShape symbol in a Visio diagram, you can obtain any available type of information about any aspect of that symbol by accessing the Cells property and then the Formula property of that particular cell.

To obtain the cell you are interested in, you need to get a reference to the Cell object. To get this reference, use the Cells property of the Shape object and explicitly call out the quoted string for the name of the desired cell, as in the following example:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint