[]
        
(Showing Draft Content)

C1.WPF.RichTextBox.C1RichTextViewManager.GetPointFromRelativePoint

GetPointFromRelativePoint Method

GetPointFromRelativePoint(UIElement, Point)

Returns a point in document coordinates from a point relative to a UIElement.

Declaration
public Point GetPointFromRelativePoint(UIElement root, Point point)
Parameters
Type Name Description
UIElement root

The UIElement where point is relative to.

Point point

A System.Windows.Point in the coordinates of root.

Returns
Type Description
Point

A point in document coordinates.