Adds a connection point to this connection at an appropriate position derived from the given Point. The newly created and added connection point is then returned.

Namespace:  Mindscape.WpfDiagramming.Foundation
Assembly:  Mindscape.WpfDiagramming.Foundation (in Mindscape.WpfDiagramming.Foundation.dll)
Version: 2.0.0.0 (2.0.0.0)

Syntax

C#
IDiagramConnectionPoint AddConnectionPoint(
	Point point,
	double buffer
)
Visual Basic (Declaration)
Function AddConnectionPoint ( _
	point As Point, _
	buffer As Double _
) As IDiagramConnectionPoint

Parameters

point
Type: System.Windows..::.Point
A Point that will derive the position of the new connection point to be added to this connection.
buffer
Type: System..::.Double
The size of the region at each end of the connection segments which can not have a connection mounted connection point attached at.

Return Value

The connection point that was just created and added to this connection.

See Also