Skip to main content

DiagramControl.PointToControl(PointFloat) Method

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

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v23.2.dll

NuGet Package: DevExpress.Win.Diagram

Declaration

public PointFloat PointToControl(
    PointFloat documentPoint
)

Parameters

Name Type Description
documentPoint PointFloat

A Point object that represents a point on the canvas.

Returns

Type Description
PointFloat

A Point object that represents the control-relative coordinates.

See Also