TXTextControl.WPF.TextControl.PointFromDocument Method

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

Syntax

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

See Also