ComponentOne RichTextBox for WPF and Silverlight
GetPointFromRelativePoint Method (C1RichTextViewManager)

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

Parameters

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

Return Value

A point in document coordinates.
See Also

Reference

C1RichTextViewManager Class
C1RichTextViewManager Members