ComponentOne RichTextBox for UWP
GetPointFromRelativePoint Method

C1.Xaml.RichTextBox Namespace > C1RichTextViewManager Class : GetPointFromRelativePoint Method
The Windows.UI.Xaml.UIElement where point is relative to.
A Windows.Foundation.Point in the coordinates of root.
Returns a point in document coordinates from a point relative to a Windows.UI.Xaml.UIElement.
Syntax
'Declaration
 
Public Function GetPointFromRelativePoint( _
   ByVal root As Windows.UI.Xaml.UIElement, _
   ByVal point As Windows.Foundation.Point _
) As Windows.Foundation.Point
public Windows.Foundation.Point GetPointFromRelativePoint( 
   Windows.UI.Xaml.UIElement root,
   Windows.Foundation.Point point
)

Parameters

root
The Windows.UI.Xaml.UIElement where point is relative to.
point
A Windows.Foundation.Point in the coordinates of root.

Return Value

A point in document coordinates.
See Also

Reference

C1RichTextViewManager Class
C1RichTextViewManager Members