Back to Devexpress

DiagramControl.PointToDocument(Point) Method

wpf-devexpress-dot-xpf-dot-diagram-dot-diagramcontrol-dot-pointtodocument-x28-system-dot-windows-dot-point-x29.md

latest1.5 KB
Original Source

DiagramControl.PointToDocument(Point) Method

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

Namespace : DevExpress.Xpf.Diagram

Assembly : DevExpress.Xpf.Diagram.v25.2.dll

NuGet Package : DevExpress.Wpf.Diagram

Declaration

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

Parameters

NameTypeDescription
controlPointPoint

A Point object that represents the control-relative coordinates.

|

Returns

TypeDescription
Point

A Point object that represents a point on the canvas.

|

See Also

DiagramControl Class

DiagramControl Members

DevExpress.Xpf.Diagram Namespace