TXTextControl.TextControl.DocumentToClient Method

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

Introduced: 25.0.

DocumentToClient(Point)

Computes the specified point in twips into client coordinates.

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

Specifies a document point which client coordinates are computed.

DocumentToClient(Rectangle)

Computes the specified rectangle in twips into client coordinates.

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

Specifies a document rectangle which client coordinates are computed.

Return Value

The return value specifies the computed client point or rectangle.

See Also