DiagramControl.PointToDocument(PointFloat) Method
In This Article
Converts the control-relative coordinates to the coordinates of a point on the canvas.
Namespace: DevExpress.XtraDiagram
Assembly: DevExpress.XtraDiagram.v24.2.dll
NuGet Package: DevExpress.Win.Diagram
#Declaration
public PointFloat PointToDocument(
PointFloat controlPoint
)
#Parameters
Name | Type | Description |
---|---|---|
control |
Point |
A Point object that represents the control-relative coordinates. |
#Returns
Type | Description |
---|---|
Point |
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