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

Introduced: X15.

PointFromDocument(System.Windows.Point)

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

Parameters

Parameter Description
point Specifies a point in document coordinates.

Return Value

The return value specifies the converted Point that represents the current coordinate system of the TextControl.