BCGSuite for MFC
BOOL CBCGPDiagramVisualObject::GetConnectionPort ( UINT  nConnectionPortID,
CBCGPPoint pt,
BOOL  bTracked = FALSE 
) const

Gets coordinates of the specific connection port.

nConnectionPortIDIdentifier for the connection port.
pt[out] The connection port coordinates.
bTrackedSpecifies whether the tracked position is used.
TRUE if it succeeds, FALSE if the specified connection port doesn't exist.