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

Chapter 14. Connecting and Positioning V... > Gluing to the Other Shape

Gluing to the Other Shape

The next step is to get a reference to either the explicit entity you want to glue to, as in the case of a connection point, or to the position we want to glue to, as in the case of the location with respect to the target SmartShape symbol. When you have the reference you need, you can then use the GlueTo or GlueToPos method of the Gluing SmartShape symbol to glue to the other SmartShape symbol.

Listing 14.1 is an example of gluing a control handle on the Position SmartShape symbol to a connection point on a Manager SmartShape symbol. This example uses a Manager and Position SmartShape symbol that I created from two rectangles. You can find the sample drawing for this on the CD-ROM that accompanies this book. Be aware that the symbols from the Organizational Chart Solution have very specialized visibility behavior based on the solution itself, and this behavior can interfere with the visibility of the connection line.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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