Search
DiagramView.DocToClient Method (PointF)
See Also
 





Converts the specified point from document to client coordinates.

Namespace: MindFusion.Diagramming.WebForms
Package: MindFusion.Diagramming.WebForms

 Syntax

C#  Copy Code

public Point DocToClient (
    PointF docPt
)

Visual Basic  Copy Code

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

 Parameters

docPt
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 docPt.

 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