RichTextBox for WPF | ComponentOne
C1.WPF.RichTextBox Namespace / C1RichTextViewManager Class / GetRelativePointFromPoint Method
A System.Windows.UIElement to use as reference.
A point in document coordinates.

In This Topic
    GetRelativePointFromPoint Method (C1RichTextViewManager)
    In This Topic
    Returns a point relative to an element from a point in document coordinates.
    Syntax
    'Declaration
     
    
    Public Function GetRelativePointFromPoint( _
       ByVal root As UIElement, _
       ByVal point As Point _
    ) As Point
    public Point GetRelativePointFromPoint( 
       UIElement root,
       Point 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.
    See Also