DiagramControl.PointToControl(PointFloat) Method
In This Article
Converts the coordinates of a point on the canvas to the control-relative coordinates.
Namespace: DevExpress.XtraDiagram
Assembly: DevExpress.XtraDiagram.v24.2.dll
NuGet Package: DevExpress.Win.Diagram
#Declaration
public PointFloat PointToControl(
PointFloat documentPoint
)
#Parameters
Name | Type | Description |
---|---|---|
document |
Point |
A Point object that represents a point on the canvas. |
#Returns
Type | Description |
---|---|
Point |
A Point object that represents the control-relative coordinates. |
See Also