TXTextControl.WPF.TextControl.PointToDocument Method

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: 25.0.

Syntax

[C#]
public System.Windows.Point PointToDocument(System.Windows.Point point);
[Visual Basic]
Public Function PointToDocument(point As System.Windows.Point) As System.Windows.Point
Member 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.

See Also