Converts a Point that represents the current coordinate system of the TextControl into a point in document coordinates, which are in twips relative to the top-left corner of the whole document.

Introduced: X15.

PointToDocument(System.Windows.Point)

public System.Windows.Point PointToDocument(System.Windows.Point point);
Public Function PointToDocument(point As System.Windows.Point) As System.Windows.Point

Parameters

Parameter Description
point Specifies a point that represents the current coordinate system of the TextControl.

Return Value

The return value specifies the converted Point in document coordinates.

Further Reading

Learn more about the TXTextControl.WPF.TextControl.PointToDocument Method in the Text Control Blog: