ComponentOne RichTextBox for UWP
GetRelativePointFromPoint Method

C1.Xaml.RichTextBox Namespace > C1RichTextViewManager Class : GetRelativePointFromPoint Method
A Windows.UI.Xaml.UIElement to use as reference.
A point in document coordinates.
Returns a point relative to an element from a point in document coordinates.
Syntax
'Declaration
 
Public Function GetRelativePointFromPoint( _
   ByVal root As Windows.UI.Xaml.UIElement, _
   ByVal point As Windows.Foundation.Point _
) As Windows.Foundation.Point
public Windows.Foundation.Point GetRelativePointFromPoint( 
   Windows.UI.Xaml.UIElement root,
   Windows.Foundation.Point point
)

Parameters

root
A Windows.UI.Xaml.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

Reference

C1RichTextViewManager Class
C1RichTextViewManager Members