Search
DiagramView.ClientToDoc Method (Rectangle)
See Also
 





Converts the specified rectangle from client to document coordinates.

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

 Syntax

C#  Copy Code

public RectangleF ClientToDoc (
    Rectangle clientRect
)

Visual Basic  Copy Code

Public Function ClientToDoc( _
    clientRect As Rectangle _
) As RectangleF

 Parameters

clientRect
An instance of the .NET Rectangle structure, whose coordinates should be transformed and returned.

 Return Value

A .NET RectangleF instance, which represents the document coordinates of clientRect.

 Remarks

This method is useful when the document coordinates of a rectangle are needed. For example, the method can be used to determine the visual area of the diagram by calling it with the control's ClientRectangle as an argument.

 See Also