Back to Devexpress

DiagramControl.PointToDocument(PointFloat) Method

windowsforms-devexpress-dot-xtradiagram-dot-diagramcontrol-dot-pointtodocument-x28-devexpress-dot-utils-dot-pointfloat-x29.md

latest1.7 KB
Original Source

DiagramControl.PointToDocument(PointFloat) Method

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

Namespace : DevExpress.XtraDiagram

Assembly : DevExpress.XtraDiagram.v25.2.dll

NuGet Package : DevExpress.Win.Diagram

Declaration

csharp
public PointFloat PointToDocument(
    PointFloat controlPoint
)
vb
Public Function PointToDocument(
    controlPoint As PointFloat
) As PointFloat

Parameters

NameTypeDescription
controlPointPointFloat

A Point object that represents the control-relative coordinates.

|

Returns

TypeDescription
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

DiagramControl Class

DiagramControl Members

DevExpress.XtraDiagram Namespace