Search
DiagramView.DiagramToView Method (Rect)
See Also
 






Converts specified rectangle from diagram to view coordinates.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 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 Microsoft.Maui.Graphics.Rect structure, whose coordinates should be transformed and returned.

 Return Value

A Microsoft.Maui.Graphics.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