Search
VisualDiagramView.DocToClient Method (Rect)
See Also
 





Converts the specified rectangle from document to client coordinates.

Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf

 Syntax

C#  Copy Code

public Rect DocToClient (
    Rect docRect
)

Visual Basic  Copy Code

Public Function DocToClient( _
    docRect As Rect _
) As Rect

 Parameters

docRect

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

 Return Value

A Rect instance, which represents the client coordinates of docRect.

 Remarks

This method is useful when the client (device) coordinates of a diagram location are needed.

 See Also