DiagramControl.PointToDocument(PointFloat) Method

Converts the control-relative coordinates to the coordinates of a point on the canvas.

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v21.2.dll

Declaration

public PointFloat PointToDocument(
    PointFloat controlPoint
)

Parameters

Name Type Description
controlPoint PointFloat

A Point object that represents the control-relative coordinates.

Returns

Type Description
PointFloat

A Point object that represents a point on the canvas.

Remarks

To convert the screen coordinates to the control-relative coordinates, use the PointToClient method.

See Also