ComponentOne RichTextBox for UWP
GetPointFromPointerEvent Method

C1.Xaml.RichTextBox Namespace > C1RichTextViewManager Class : GetPointFromPointerEvent Method
The root used as coordinate reference.
A Windows.UI.Xaml.Input.PointerRoutedEventArgs to get positions from.
Returns a point in document coordinates from the position of a mouse event.
Syntax
'Declaration
 
Public Function GetPointFromPointerEvent( _
   ByVal root As Windows.UI.Xaml.UIElement, _
   ByVal pointerEvent As Windows.UI.Xaml.Input.PointerRoutedEventArgs _
) As Windows.Foundation.Point
public Windows.Foundation.Point GetPointFromPointerEvent( 
   Windows.UI.Xaml.UIElement root,
   Windows.UI.Xaml.Input.PointerRoutedEventArgs pointerEvent
)

Parameters

root
The root used as coordinate reference.
pointerEvent
A Windows.UI.Xaml.Input.PointerRoutedEventArgs to get positions from.

Return Value

A point in document coordinates.
See Also

Reference

C1RichTextViewManager Class
C1RichTextViewManager Members