Sets the position of this IDiagramConnectionPoint to be a point on the connection that it is attached to that is closest to the given Point. The actual position that was set 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#
Point SetPosition(
	Point point,
	double buffer
)
Visual Basic (Declaration)
Function SetPosition ( _
	point As Point, _
	buffer As Double _
) As Point

Parameters

point
Type: System.Windows..::.Point
A Point that the position of this IDiagramConnectionPoint is derived from.
buffer
Type: System..::.Double
Some distance at each end of the accepting connection where this connection point can not connect to.

Return Value

The actual resulting position of this IDiagramConnectionPoint.

See Also