RichTextBox for WPF | ComponentOne
C1.WPF.RichTextBox Namespace / C1RichTextViewManager Class / GetPointFromTouchEvent Method
The root used as coordinate reference.
A System.Windows.Input.TouchEventArgs to get positions from.

In This Topic
    GetPointFromTouchEvent Method
    In This Topic
    Returns a point in document coordinates from the position of a touch event.
    Syntax
    'Declaration
     
    
    Public Function GetPointFromTouchEvent( _
       ByVal root As UIElement, _
       ByVal touchEvents As TouchEventArgs _
    ) As Point
    public Point GetPointFromTouchEvent( 
       UIElement root,
       TouchEventArgs touchEvents
    )

    Parameters

    root
    The root used as coordinate reference.
    touchEvents
    A System.Windows.Input.TouchEventArgs to get positions from.

    Return Value

    A point in document coordinates.
    See Also