Orthogonal Links
An orthogonal link is a link component that contains an orthogonal line component as a link shape. To create an orthogonal link, simply create a link using the CODLinkComponent::CreateOrthogonal method. Example 18 shows how to create an orthogonal link.
Example 18 – Creating an orthogonal link
CODLinkComponent* pLinkComp = new CODLinkComponent();
Example 19 is equivalent to using the CreateOrthogonal method.
Example 19 – An equivalent method to Example 18
CODLinkComponent* pLinkComp = new CODLinkComponent();
CODOrthogonalLinkShape* pOrthoLine = new CODOrthogonalLinkShape ();