TXTextControl.TextControl.DocumentToClient Method

Computes coordinates in twips relative to the top-left corner of the document into client coordinates.

Introduced: 25.0.


Computes the specified point in twips into client coordinates.

System.Drawing.Point DocumentToClient(System.Drawing.Point point);
[Visual Basic]
Public Function DocumentToClient(point As System.Drawing.Point) As System.Drawing.Point
Member Description

Specifies a document point which client coordinates are computed.


Computes the specified rectangle in twips into client coordinates.

System.Drawing.Rectangle DocumentToClient(System.Drawing.Rectangle rectangle);
[Visual Basic]
Public Function DocumentToClient(rectangle As System.Drawing.Rectangle) As System.Drawing.Rectangle
Member Description

Specifies a document rectangle which client coordinates are computed.

Return Value

The return value specifies the computed client point or rectangle.

See Also