RichTextBox for UWP | ComponentOne
C1.Xaml.RichTextBox Namespace / C1RichTextViewManager Class / GetPointFromRelativePoint Method
The Windows.UI.Xaml.UIElement where point is relative to.
A Windows.Foundation.Point in the coordinates of root.

In This Topic
    GetPointFromRelativePoint Method
    In This Topic
    Returns a point in document coordinates from a point relative to a Windows.UI.Xaml.UIElement.
    Syntax
    'Declaration
     
    Public Function GetPointFromRelativePoint( _
       ByVal root As UIElement, _
       ByVal point As Point _
    ) As Point
    public Point GetPointFromRelativePoint( 
       UIElement root,
       Point point
    )

    Parameters

    root
    The Windows.UI.Xaml.UIElement where point is relative to.
    point
    A Windows.Foundation.Point in the coordinates of root.

    Return Value

    A point in document coordinates.
    See Also