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

In This Topic
    GetPointFromRelativePoint Method (C1RichTextViewManager)
    In This Topic
    Returns a point in document coordinates from a point relative to a System.Windows.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 System.Windows.UIElement where point is relative to.
    point
    A System.Windows.Point in the coordinates of root.

    Return Value

    A point in document coordinates.
    See Also