Search
DiagramView.DocToClient Method (PointF)
See Also
 





Transforms points from the document coordinate space to the client coordinate space.

Namespace: MindFusion.Diagramming.WinForms
Assembly: MindFusion.Diagramming.WinForms

 Syntax

C#  Copy Code

public Point DocToClient (
    PointF docPoint
)

Visual Basic  Copy Code

Public Function DocToClient( _
    docPoint As PointF _
) As Point

 Parameters

docPoint
An instance of the .NET PointF structure, whose coordinates should be transformed and returned.

 Return Value

A Point instance, which represents the client coordinates of docPoint.

 Remarks

This method is useful when the client (device) coordinates of a diagram location are needed. For example, it can be used to get the device point where a context menu should be displayed.

 See Also