BCGControlBar Pro for MFC
CBCGPDiagramAnchorPoint CBCGPDiagramVisualObject::UseConnectionPort ( UINT  nConnectionPortID,
CBCGPPoint pDefaultPoint = NULL 
) const

Creates a new anchor point.

Parameters
nConnectionPortIDCBCGPDiagramVisualObject::ConnectionPorts value.
pDefaultPoint(Optional) Coordinates of the anchor.
Returns
A new anchor point.

Call this method to creates a new connection to the diagram item.