RichTextBox for WinRT
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
'Usage
 
Dim instance As C1RichTextViewManager
Dim root As Windows.UI.Xaml.UIElement
Dim point As Windows.Foundation.Point
Dim value As Windows.Foundation.Point
 
value = instance.GetRelativePointFromPoint(root, 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.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

C1RichTextViewManager Class
C1RichTextViewManager Members

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback