Returns a Point that is derived from the given Rect according to the values of the XFactor and YFactor properties.

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

Syntax

C#
public Point GetPosition(
	Rect bounds
)
Visual Basic (Declaration)
Public Function GetPosition ( _
	bounds As Rect _
) As Point

Parameters

bounds
Type: System.Windows..::.Rect
The Rect used to derive the returned Point.

Return Value

A Point whose position is relational to the given Rect and the XFactor and YFactor properties.

Implements

IPositionCalculator..::.GetPosition(Rect)

See Also