Version

GetConnectionPoint Method

Gets the absolute point where the connection is to be connected to this node.
Syntax
'Declaration
 
Protected Friend Overridable Function GetConnectionPoint( _
   ByVal connection As DiagramConnection, _
   ByVal connectionPointName As String, _
   ByVal handleType As DiagramConnectionHandleType _
) As Point
protected internal virtual Point GetConnectionPoint( 
   DiagramConnection connection,
   string connectionPointName,
   DiagramConnectionHandleType handleType
)

Parameters

connection
The connection to be connected.
connectionPointName
The DiagramConnection.StartNodeConnectionPointName or DiagramConnection.EndNodeConnectionPointName value of the connection, depending on which connection end is being connected to the node.
handleType

Return Value

The absolute point where the connection should start/end. If a matching connection point is found on the node, it is returned. Otherwise the middle of the closest side is returned.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also