Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DiagramControl.PointToDocument(PointFloat) Method

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
controlPoint PointFloat

A Point object that represents the control-relative coordinates.

#Returns

Type Description
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