Search
DiagramView.DiagramToView Method (Rect)
See Also
 





Converts specified rectangle from diagram to view coordinates.

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

 Syntax

C#  Copy Code

public Rect DiagramToView (
    Rect diagramRect
)

Visual Basic  Copy Code

Public Function DiagramToView( _
    diagramRect As Rect _
) As Rect

 Parameters

diagramRect

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

 Return Value

A Rect instance, which represents the view coordinates of diagramRect.

 Remarks

This method is useful when the view coordinates of a diagram location are needed, with measure unit, zoom level and scroll position considered.

 See Also