Returns a point relative to an element from a point in document coordinates.
'Declaration
Public Function GetRelativePointFromPoint( _
ByVal As System.Windows.UIElement, _
ByVal As System.Windows.Point _
) As System.Windows.Point
public System.Windows.Point GetRelativePointFromPoint(
System.Windows.UIElement ,
System.Windows.Point
)
Parameters
- root
- A System.Windows.UIElement to use as reference.
- point
- A point in document coordinates.
Return Value
A point relative to an element from a point in document coordinates.