ComponentOne RichTextBox for WPF and Silverlight
GetRelativePointFromPoint Method (C1RichTextViewManager)

C1.WPF.RichTextBox Namespace > C1RichTextViewManager Class : GetRelativePointFromPoint Method
A System.Windows.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 System.Windows.UIElement, _
   ByVal point As System.Windows.Point _
) As System.Windows.Point
public System.Windows.Point GetRelativePointFromPoint( 
   System.Windows.UIElement root,
   System.Windows.Point point
)

Parameters

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