Search
Diagram.ClientToDoc Method (Rect)
See Also
 





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

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

 Syntax

C#  Copy Code

public Rect ClientToDoc (
    Rect clientRect
)

Visual Basic  Copy Code

Public Function ClientToDoc( _
    clientRect As Rect _
) As Rect

 Parameters

clientRect

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

 Return Value

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

 Remarks

This method is useful when the document coordinates of a rectangle are needed.

 See Also