[]
        
(Showing Draft Content)

C1.WPF.RichTextBox.C1RichTextViewManager.GetRelativePointFromPoint

GetRelativePointFromPoint Method

GetRelativePointFromPoint(UIElement, Point)

Returns a point relative to an element from a point in document coordinates.

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

A UIElement to use as reference.

Point point

A point in document coordinates.

Returns
Type Description
Point

A point relative to an element from a point in document coordinates.