Search
DiagramView.DocToClient Method (RectangleF)
See Also
 





Converts the specified rectangle from document to client coordinates.

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

 Syntax

C#  Copy Code

public Rectangle DocToClient (
    RectangleF docRect
)

Visual Basic  Copy Code

Public Function DocToClient( _
    docRect As RectangleF _
) As Rectangle

 Parameters

docRect
An instance of the .NET RectangleF structure, whose coordinates should be transformed and returned.

 Return Value

Rectangle instance, which represents the client coordinates of docRect.

 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 rectangle where a context menu should be displayed.

 See Also