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

Chapter 14. Connecting and Positioning V... > Connecting SmartShapes Symbols

Connecting SmartShapes Symbols

Presume that you have a Connector SmartShape symbol; we will call this symbol A. Presume also that you have an Organizational Chart Position SmartShape symbol; we will call this symbol B. Under Automation, we want to glue the endpoint of A to a location on B. This process involves the following steps:

1.
We need to get references to each of the A and B symbols. You already understand how to do this.

2.
We need to get a reference to the glueable part of A, that is, its endpoint, by getting a reference to A's EndX or EndY cell.

3.
We need to get a reference to either a location on B or to a connection point on B by getting a reference to the Connections.X1 cell, for example.

4.
We need to use the GlueTo or GlueToPos method of the Cell object in A to glue it to B.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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