[]
        
(Showing Draft Content)

C1.WPF.RichTextBox.C1RichTextViewManager.GetPointFromTouchEvent

GetPointFromTouchEvent Method

GetPointFromTouchEvent(UIElement, TouchEventArgs)

Returns a point in document coordinates from the position of a touch event.

Declaration
public Point GetPointFromTouchEvent(UIElement root, TouchEventArgs touchEvents)
Parameters
Type Name Description
UIElement root

The root used as coordinate reference.

TouchEventArgs touchEvents

A TouchEventArgs to get positions from.

Returns
Type Description
Point

A point in document coordinates.