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

Chapter 2. An Introduction to ShapeSheet... > Programming a Bar-Graph SmartShape S...

Programming a Bar-Graph SmartShape Symbol

Have you ever wondered how bar graph shapes are created in Visio? This example shows another highly intelligent Visio SmartShape symbol that allows the user to enter a value directly onto the SmartShape symbol as text and have it directly control the width of the symbol. Here are the design goals: Create a Visio SmartShape symbol that adjusts its width according to the value entered on the face of the shape. Furthermore, the symbol should grow from left to right; that is, it should be anchored at the left side of the symbol, and all its growth should take place at the right edge of the symbol.

Another concept that I will discuss in far greater detail in a moment is the concept of the pin and local pin in a Visio SmartShape symbol. For the moment, suffice it to say that all movement in a SmartShape symbol takes place about the local pin. The cells that control this are the LocPinX and LocPinY cells. They are also found in the Shape Transform section.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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